Skip to content

Commit

Permalink
Update Jenkinsfile-online
Browse files Browse the repository at this point in the history
  • Loading branch information
runzexia authored Apr 11, 2019
1 parent 13271de commit 0afb14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile-online
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pipeline {
container ('maven') {
withCredentials([string(credentialsId: "$SONAR_TOKEN_ID", variable: 'SONAR_TOKEN')]) {
withSonarQubeEnv('sonar') {
sh "mvn sonar:sonar -o -gs `pwd`/configuration/settings.xml -Dsonar.branch=$BRANCH_NAME -Dsonar.login=$SONAR_TOKEN_ID"
sh "mvn sonar:sonar -o -gs `pwd`/configuration/settings.xml -Dsonar.branch=$BRANCH_NAME -Dsonar.login=$SONAR_TOKEN"
}
}
timeout(time: 1, unit: 'HOURS') {
Expand Down

0 comments on commit 0afb14e

Please sign in to comment.