Skip to content

Commit 438d29f

Browse files
committed
Update Cirrus configuration
1 parent 1872168 commit 438d29f

2 files changed

Lines changed: 3 additions & 12 deletions

File tree

.cirrus.star

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("github.com/SonarSource/cirrus-modules@v2", "load_features")
1+
load("github.com/SonarSource/cirrus-modules@v3", "load_features")
22

33
def main(ctx):
44
return load_features(ctx)

.cirrus.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,8 @@ env:
1111
ARTIFACTORY_DEPLOY_PASSWORD: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-qa-deployer access_token]
1212
ARTIFACTORY_DEPLOY_REPO: sonarsource-public-qa
1313

14-
CIRRUS_CLONE_DEPTH: 50
15-
16-
BURGR_URL: VAULT[development/kv/data/burgr data.url]
17-
BURGR_USERNAME: VAULT[development/kv/data/burgr data.cirrus_username]
18-
BURGR_PASSWORD: VAULT[development/kv/data/burgr data.cirrus_password]
19-
2014
### Project variables
2115
DEPLOY_PULL_REQUEST: true
22-
ARTIFACTS: "\
23-
org.sonarsource.scanner.lib:sonar-scanner-java-library:jar,\
24-
org.sonarsource.scanner.lib:sonar-scanner-java-library-batch:jar,\
25-
org.sonarsource.scanner.lib:sonar-scanner-java-library-batch-interface:jar,\
26-
org.sonarsource.scanner.lib:sonar-scanner-java-library-parent:jar"
2716

2817
#
2918
# RE-USABLE CONFIGS
@@ -51,6 +40,8 @@ build_task:
5140
SONAR_HOST_URL: https://next.sonarqube.com/sonarqube
5241
SIGN_KEY: VAULT[development/kv/data/sign data.key]
5342
PGP_PASSPHRASE: VAULT[development/kv/data/sign data.passphrase]
43+
# Fetch all commit history so that Sonar has exact blame information for issue auto-assignment
44+
CIRRUS_CLONE_DEPTH: "0"
5445
maven_cache:
5546
folder: ${CIRRUS_WORKING_DIR}/.m2/repository
5647
script:

0 commit comments

Comments
 (0)