Update vars/jenkinsPipelineSkeleton.groovy

This commit is contained in:
2025-05-28 16:20:52 +03:00
parent 463694273f
commit dc02c964db
+2
View File
@@ -28,11 +28,13 @@ def call(String projectName, Map config) {
stage('SonarQube Analysis') { stage('SonarQube Analysis') {
steps { steps {
container('maven') {
withSonarQubeEnv('SonarQube') { withSonarQubeEnv('SonarQube') {
sh 'mvn clean package sonar:sonar' sh 'mvn clean package sonar:sonar'
} }
} }
} }
}
stage('Build and Deploy') { stage('Build and Deploy') {
steps { steps {