SQ steps
This commit is contained in:
parent
63f2b48b96
commit
fe911b62bd
12
jenkinsfile
12
jenkinsfile
@ -25,12 +25,16 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('SCM') {
|
||||
checkout scm
|
||||
steps {
|
||||
checkout scm
|
||||
}
|
||||
}
|
||||
stage('SonarQube Analysis') {
|
||||
def scannerHome = tool 'SQ';
|
||||
withSonarQubeEnv() {
|
||||
sh "${scannerHome}/bin/sonar-scanner"
|
||||
steps {
|
||||
def scannerHome = tool 'SQ';
|
||||
withSonarQubeEnv() {
|
||||
sh "${scannerHome}/bin/sonar-scanner"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user