|
1 | 1 | env:
|
2 |
| - CIRRUS_VAULT_URL: https://vault.sonar.build:8200 |
3 |
| - CIRRUS_VAULT_AUTH_PATH: jwt-cirrusci |
4 |
| - CIRRUS_VAULT_ROLE: cirrusci-${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME} |
5 |
| - |
6 | 2 | ARTIFACTORY_URL: VAULT[development/kv/data/repox data.url]
|
7 | 3 |
|
8 | 4 | ARTIFACTORY_PRIVATE_USERNAME: vault-${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-private-reader
|
|
18 | 14 | ORG_GRADLE_PROJECT_signingPassword: VAULT[development/kv/data/sign data.passphrase]
|
19 | 15 | ORG_GRADLE_PROJECT_signingKeyId: 0x7DCD4258
|
20 | 16 |
|
| 17 | + DEVELOCITY_TOKEN: VAULT[development/kv/data/develocity data.token] |
| 18 | + DEVELOCITY_ACCESS_KEY: develocity.sonar.build=${DEVELOCITY_TOKEN} |
| 19 | + |
21 | 20 | # Use bash (instead of sh on linux or cmd.exe on windows)
|
22 | 21 | CIRRUS_SHELL: bash
|
23 | 22 |
|
@@ -81,7 +80,7 @@ gradle_its_template: &GRADLE_ITS_TEMPLATE
|
81 | 80 | git submodule update --init --depth 1 "${GIT_SUB_MODULE}"
|
82 | 81 | fi
|
83 | 82 | - source cirrus-env QA
|
84 |
| - - ./gradlew "${GRADLE_TASK}" "-P${ITS_PROJECT}" |
| 83 | + - ./gradlew "${GRADLE_TASK}" "-P${ITS_PROJECT}" -Dscan.tag.CI -Dscan.tag.${ITS_PROJECT} -Dscan.tag.SQ_${SQ_VERSION} |
85 | 84 | "-Dsonar.runtimeVersion=${SQ_VERSION}"
|
86 | 85 | "-DbuildNumber=$BUILD_NUMBER"
|
87 | 86 | --info --console plain --no-daemon --build-cache
|
@@ -146,7 +145,7 @@ ws_scan_task:
|
146 | 145 | folder: ${CIRRUS_WORKING_DIR}/.m2/repository
|
147 | 146 | whitesource_script:
|
148 | 147 | - source cirrus-env QA
|
149 |
| - - ./gradlew clean assemble |
| 148 | + - ./gradlew clean assemble -Dscan.tag.WS_BUILD |
150 | 149 | - source ./export_ws_variables.sh
|
151 | 150 | - source ws_scan.sh
|
152 | 151 | allow_failures: "true"
|
@@ -202,7 +201,7 @@ qa_ruling_kotlin_compiler_task:
|
202 | 201 | git submodule update --init --depth 1 "${GIT_SUB_MODULE}"
|
203 | 202 | fi
|
204 | 203 | - source cirrus-env QA
|
205 |
| - - ./gradlew :its:ruling:test --tests "org.sonarsource.slang.SlangRulingTest.test_kotlin_compiler" -Pruling |
| 204 | + - ./gradlew :its:ruling:test --tests "org.sonarsource.slang.SlangRulingTest.test_kotlin_compiler" -Pruling -Dscan.tag.CI -Dscan.tag.ruling -Dscan.tag.kotlin-compiler |
206 | 205 | "-Dsonar.runtimeVersion=${SQ_VERSION}"
|
207 | 206 | "-DbuildNumber=$BUILD_NUMBER"
|
208 | 207 | --info --console plain --no-daemon --build-cache
|
|
0 commit comments