From: Julien HENRY Date: Wed, 31 Jul 2024 07:55:13 +0000 (+0200) Subject: SCANCLI-152 Update CirrusCI configuration X-Git-Tag: 6.2.0.4578~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2c478d21af43c7d5a14658e98342f28e75601e43;p=sonar-scanner-cli.git SCANCLI-152 Update CirrusCI configuration --- diff --git a/.cirrus.star b/.cirrus.star index 28b17b7..9f91e15 100644 --- a/.cirrus.star +++ b/.cirrus.star @@ -1,4 +1,4 @@ -load("github.com/SonarSource/cirrus-modules@v2", "load_features") +load("github.com/SonarSource/cirrus-modules@v3", "load_features") def main(ctx): return load_features(ctx) diff --git a/.cirrus.yml b/.cirrus.yml index e452439..ec091b1 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -15,13 +15,8 @@ env: ARTIFACTORY_DEPLOY_REPO: sonarsource-public-qa ARTIFACTORY_PROMOTE_ACCESS_TOKEN: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-promoter access_token] - BURGR_URL: VAULT[development/kv/data/burgr data.url] - BURGR_USERNAME: VAULT[development/kv/data/burgr data.cirrus_username] - BURGR_PASSWORD: VAULT[development/kv/data/burgr data.cirrus_password] - ### Project variables DEPLOY_PULL_REQUEST: true - ARTIFACTS: org.sonarsource.scanner.cli:sonar-scanner-cli:jar NIGHTLY_CRON: 'nightly-cron' # # RE-USABLE CONFIGS @@ -60,6 +55,8 @@ build_task: SONAR_HOST_URL: VAULT[development/kv/data/next data.url] SIGN_KEY: VAULT[development/kv/data/sign data.key] PGP_PASSPHRASE: VAULT[development/kv/data/sign data.passphrase] + # Fetch all commit history so that Sonar has exact blame information for issue auto-assignment + CIRRUS_CLONE_DEPTH: "0" maven_cache: folder: ${CIRRUS_WORKING_DIR}/.m2/repository script: