File tree Expand file tree Collapse file tree 5 files changed +73
-2
lines changed Expand file tree Collapse file tree 5 files changed +73
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+ on :
3+ push :
4+ branches :
5+ - master
6+ - branch-*
7+ - dogfood-*
8+ pull_request :
9+ workflow_dispatch :
10+ schedule :
11+ - cron : " 30 1 * * *" # Run daily at 01:30 AM UTC
12+
13+ concurrency :
14+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15+ cancel-in-progress : true
16+
17+ jobs :
18+ build :
19+ runs-on : github-ubuntu-latest-s
20+ name : Build
21+ permissions :
22+ id-token : write # Required for Vault OIDC authentication
23+ contents : write # Required for repository access and tagging
24+ outputs :
25+ build-number : ${{ steps.build-gradle.outputs.BUILD_NUMBER }}
26+ steps :
27+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
28+ - uses : jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
29+ with :
30+ version : 2025.7.12
31+ - uses : SonarSource/ci-github-actions/build-gradle@v1
32+ id : build-gradle
33+ with :
34+ deploy-pull-request : true
35+ artifactory-reader-role : private-reader
36+ artifactory-deployer-role : qa-deployer
37+
38+ # QA is broken due to JACOCO-56
39+
40+ promote :
41+ needs :
42+ - build
43+ runs-on : github-ubuntu-latest-s
44+ name : Promote
45+ permissions :
46+ id-token : write
47+ contents : write
48+ steps :
49+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
50+ - uses : jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
51+ with :
52+ cache_save : false
53+ version : 2025.7.12
54+ - uses : SonarSource/ci-github-actions/promote@v1
55+ with :
56+ promote-pull-request : true
Original file line number Diff line number Diff line change 1+ name : Cleanup PR Resources
2+ on :
3+ pull_request :
4+ types : [closed]
5+
6+ jobs :
7+ cleanup :
8+ runs-on : github-ubuntu-latest-s
9+ permissions :
10+ actions : write
11+ steps :
12+ - uses : SonarSource/ci-github-actions/pr_cleanup@v1
Original file line number Diff line number Diff line change 11# SonarQube JaCoCo Plugin
22
3- [ ![ Build Status ] ( https://api.cirrus-ci. com/github/ SonarSource/sonar-jacoco. svg?branch=master )] ( https://cirrus-ci .com/github/ SonarSource/sonar-jacoco )
3+ [ ![ Build] ( https://github. com/SonarSource/sonar-jacoco/actions/workflows/build.yml/badge. svg?branch=master )] ( https://github .com/SonarSource/sonar-jacoco/actions/workflows/build.yml )
44[ ![ Quality gate] ( https://next.sonarqube.com/sonarqube/api/project_badges/measure?project=org.sonarsource.jacoco%3Asonar-jacoco&metric=alert_status )] ( https://next.sonarqube.com/sonarqube/dashboard?id=org.sonarsource.jacoco%3Asonar-jacoco )
55[ ![ Coverage] ( https://next.sonarqube.com/sonarqube/api/project_badges/measure?project=org.sonarsource.jacoco%3Asonar-jacoco&metric=coverage )] ( https://next.sonarqube.com/sonarqube/component_measures?id=org.sonarsource.jacoco%3Asonar-jacoco&metric=coverage )
66
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ signing {
176176 def signingPassword = findProperty(" signingPassword" )
177177 useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
178178 required {
179- def branch = System . getenv()[" CIRRUS_BRANCH" ]
179+ def branch = System . getenv()[" GITHUB_REF_NAME " ] ?: System . getenv()[ " CIRRUS_BRANCH" ]
180180 return (branch == ' master' || branch ==~ ' branch-[\\ d.]+' ) &&
181181 gradle. taskGraph. hasTask(" :artifactoryPublish" )
182182 }
Original file line number Diff line number Diff line change 1+ [tools ]
2+ java = " 17.0"
3+ gradle = " 7.6"
You can’t perform that action at this time.
0 commit comments