SQ work?
This commit is contained in:
parent
6042fa2fac
commit
63044ece48
@ -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 {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user