Update vars/jenkinsPipelineSkeleton.groovy
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user