Skip to content

Commit

Permalink
ci: update to latest Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominick Leppich committed Oct 1, 2024
1 parent 7f49c2e commit 6ec26df
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pipeline {
branch 'master'
branch 'release_*'
branch 'hotfix_release_*'
branch 'sonar_*'
allOf {
branch 'PR-*'
expression { env.CHANGE_BRANCH.startsWith("release_") }
Expand Down Expand Up @@ -55,6 +56,14 @@ pipeline {
sh 'mvn clean verify -U -P release-build'
}
}
stage('build-sonar') {
when {
branch 'sonar_*'
}
steps {
sh 'mvn clean verify -U -P sonar-build'
}
}
stage('sonarcloud') {
when {
allOf {
Expand Down

0 comments on commit 6ec26df

Please sign in to comment.