|
|
@@ -36,7 +36,7 @@ node{
|
|
|
sh 'ls -ls'
|
|
|
}
|
|
|
stage('SonarQube analysis') {
|
|
|
- def scannerHome = tool 'SonarQube Scanner 2.8'; withSonarQubeEnv('SonarQube') {
|
|
|
+ def scannerHome = tool 'SonarQube Scanner 2.11'; withSonarQubeEnv('SonarQube') {
|
|
|
// If you have configured more than one global server connection, you can specify its name
|
|
|
sh "${scannerHome}/bin/sonar-scanner -Dsonar.login=admin -Dsonar.password=admin" }
|
|
|
}
|