File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ pipeline {
17
17
withMaven(
18
18
mavenOpts : ' -Xmx512m -Djava.awt.headless=true'
19
19
) {
20
- sh " mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent ${ env.BRANCH_NAME == 'master' && readMavenPom().version.contains('-SNAPSHOT') ? 'deploy -DdeployAtEnd=true' : 'verify'} ${ env.BRANCH_NAME == 'master' ? ' sonar:sonar -Dsonar.organization=cloudbees' : '' } -Dmaven.test.failure.ignore=true"
20
+ sh " mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent ${ env.BRANCH_NAME == 'master' && readMavenPom().version.contains('-SNAPSHOT') ? 'deploy -DdeployAtEnd=true' : 'verify'} sonar:sonar -Dsonar.organization=cloudbees -Dsonar.branch.name= \" ${ env.BRANCH_NAME } \" -Dmaven.test.failure.ignore=true"
21
21
}
22
22
}
23
23
}
You can’t perform that action at this time.
0 commit comments