diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2024-07-31 09:55:13 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2024-07-31 10:22:52 +0200 |
commit | 2c478d21af43c7d5a14658e98342f28e75601e43 (patch) | |
tree | 5c6604533ada66ef7db623170e1354edb3b51952 | |
parent | fa7bb7f8bdc68ca558026ea041dec44c621db500 (diff) | |
download | sonar-scanner-cli-2c478d21af43c7d5a14658e98342f28e75601e43.tar.gz sonar-scanner-cli-2c478d21af43c7d5a14658e98342f28e75601e43.zip |
SCANCLI-152 Update CirrusCI configuration
-rw-r--r-- | .cirrus.star | 2 | ||||
-rw-r--r-- | .cirrus.yml | 7 |
2 files changed, 3 insertions, 6 deletions
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: |