Update vars/jenkinsPipelineSkeleton.groovy
This commit is contained in:
@@ -28,8 +28,10 @@ def call(String projectName, Map config) {
|
|||||||
|
|
||||||
stage('SonarQube Analysis') {
|
stage('SonarQube Analysis') {
|
||||||
steps {
|
steps {
|
||||||
withSonarQubeEnv('SonarQube') {
|
container('maven') {
|
||||||
sh 'mvn clean package sonar:sonar'
|
withSonarQubeEnv('SonarQube') {
|
||||||
|
sh 'mvn clean package sonar:sonar'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user