Update vars/jenkinsPipelineSkeleton.groovy

This commit is contained in:
2025-05-28 16:16:33 +03:00
parent 439af5ef17
commit 463694273f

View File

@@ -26,6 +26,14 @@ def call(String projectName, Map config) {
} }
} }
stage('SonarQube Analysis') {
steps {
withSonarQubeEnv('SonarQube') {
sh 'mvn clean package sonar:sonar'
}
}
}
stage('Build and Deploy') { stage('Build and Deploy') {
steps { steps {
script { script {