Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Update SonarQube scanner in Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcc1212 committed Apr 5, 2024
1 parent 41e694f commit 461f5d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ pipeline {
}
stage ('sonarqube') {
steps {
withSonarQubeEnv('newnewtitanium') {
script {
def scannerHome = tool 'SonarQubeScanner';
withSonarQubeEnv('newnewtitanium') {
sh "${scannerHome}/bin/sonar-scanner"
}
}
}
}
Expand Down

0 comments on commit 461f5d4

Please sign in to comment.