sbt-idp/cope2n-fe/.gitlab-ci.yml
2023-11-30 18:19:06 +07:00

21 lines
491 B
YAML

stages:
- check
sonarqube-check:
stage: check
image:
name: sonarsource/sonar-scanner-cli:latest
entrypoint: ['']
variables:
SONAR_USER_HOME: '${CI_PROJECT_DIR}/.sonar' # Defines the location of the analysis task cache
GIT_DEPTH: '0' # Tells git to fetch all the branches of the project, required by the analysis task
# cache:
# key: '${CI_JOB_NAME}'
# paths:
# - .sonar/cache
script:
- sonar-scanner
allow_failure: true
only:
- develop