Skip to content

Commit f000a16

Browse files
author
Dominick Leppich
committed
ci: update to latest Jenkinsfile
1 parent 5510a95 commit f000a16

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Jenkinsfile

+9
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ pipeline {
2828
branch 'master'
2929
branch 'release_*'
3030
branch 'hotfix_release_*'
31+
branch 'sonar_*'
3132
allOf {
3233
branch 'PR-*'
3334
expression { env.CHANGE_BRANCH.startsWith("release_") }
@@ -55,6 +56,14 @@ pipeline {
5556
sh 'mvn clean verify -U -P release-build'
5657
}
5758
}
59+
stage('build-sonar') {
60+
when {
61+
branch 'sonar_*'
62+
}
63+
steps {
64+
sh 'mvn clean verify -U -P sonar-build'
65+
}
66+
}
5867
stage('sonarcloud') {
5968
when {
6069
allOf {

0 commit comments

Comments
 (0)