SQ steps
This commit is contained in:
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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user