This commit is contained in:
Yadciel 2023-05-11 19:55:14 +02:00
parent 6042fa2fac
commit 63044ece48

View File

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