Skip to content

Commit c2f64bb

Browse files
SONARGO-367 Change analysis of LTA branch to SQC (#96)
1 parent 8c05b39 commit c2f64bb

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.cirrus.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ build_task:
6363
<<: *LINUX_2_CPU_4G
6464
<<: *SETUP_GRADLE_CACHE
6565
env:
66-
SONAR_TOKEN: VAULT[development/kv/data/next data.token]
67-
SONAR_HOST_URL: VAULT[development/kv/data/next data.url]
66+
SONAR_HOST_URL: https://sonarcloud.io
67+
SONAR_TOKEN: ENCRYPTED[!7a28d43095ea7e33c5e581fa3a6592ed0ac609d512213590cf41ce096e0849f360eb2f0881d7728f30cb148bed866ca5!]
6868
DEPLOY_PULL_REQUEST: "true"
6969
build_script:
7070
- source cirrus-env BUILD

build.gradle

+5
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,11 @@ sonar {
201201
property 'sonar.links.scm', "${sonarLinksScm}"
202202
property 'sonar.links.issue', 'https://jira.sonarsource.com/browse/SONARGO'
203203
property 'sonar.exclusions', '**/build/**/*'
204+
property 'sonar.analysis.repository', System.getenv("CIRRUS_REPO_FULL_NAME")
205+
property 'sonar.analysis.sha1', System.getenv("CIRRUS_CHANGE_IN_REPO")
206+
property 'sonar.analysis.buildNumber', System.getenv("CI_BUILD_NUMBER")
207+
property 'sonar.analysis.pipeline', System.getenv("CIRRUS_BUILD_ID")
208+
property 'sonar.projectVersion', '1.18.1-SNAPSHOT'
204209
}
205210
}
206211

0 commit comments

Comments
 (0)