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