This commit is contained in:
Yadciel 2023-05-11 20:13:41 +02:00
parent 4e84473dff
commit 207fd7e7ca

View File

@ -24,21 +24,5 @@ pipeline {
""" """
} }
} }
stage('SCM') {
steps {
checkout scm
} }
} }
stage('SonarQube Analysis') {
steps {
script {
def scannerHome = tool 'SonarScanner'; // Use the name you configured in Jenkins
withSonarQubeEnv(installationName: 'SQ') { // Use the same name here
sh "${scannerHome}/bin/sonar-scanner"
}
}
}
}
}
}