This commit is contained in:
Yadciel 2023-05-11 19:58:57 +02:00
parent 63044ece48
commit cbece676a6

View File

@ -32,8 +32,8 @@ pipeline {
stage('SonarQube Analysis') { stage('SonarQube Analysis') {
steps { steps {
script { script {
def scannerHome = tool(name: 'SQ'); def scannerHome = tool(name: 'SonarScanner');
withSonarQubeEnv(installationName: 'SQ') { withSonarQubeEnv(installationName: 'SonarScanner') {
sh "${scannerHome}/bin/sonar-scanner" sh "${scannerHome}/bin/sonar-scanner"
} }
} }