_
This commit is contained in:
parent
57111e5766
commit
4e84473dff
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user