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