diff options
-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: |