diff --git a/jenkinsfile b/jenkinsfile index e0c9068..ba86580 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -32,8 +32,8 @@ pipeline { stage('SonarQube Analysis') { steps { def scannerHome = tool 'SQ'; - withSonarQubeEnv() { - sh "${scannerHome}/bin/sonar-scanner" + withSonarQubeEnv(installationName: 'SQ') { + sh "${scannerHome}/bin/sonar-scanner" } } }