This commit is contained in:
Yadciel 2023-05-11 20:11:22 +02:00
parent 57111e5766
commit 4e84473dff

View File

@ -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"
}