diff --git a/jenkinsfile b/jenkinsfile index 0f61b82..2049e76 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -32,7 +32,7 @@ pipeline { stage('SonarQube Analysis') { steps { script { - def scannerHome = tool 'SQ'; // Use the name you configured in Jenkins + def scannerHome = tool 'SonarScanner'; // Use the name you configured in Jenkins withSonarQubeEnv(installationName: 'SQ') { // Use the same name here sh "${scannerHome}/bin/sonar-scanner" }