Commit b83ef163 authored by Fernando Vazquez's avatar Fernando Vazquez

Added sonarqube stage

parent 64d7f86b
......@@ -19,10 +19,12 @@ pipeline {
}
}
stage('SonarQube Analysis') {
steps{
withSonarQubeEnv() {
sh "mvn clean verify sonar:sonar -Dsonar.projectKey=hello-spring"
}
}
}
stage("Quality Gate") {
steps {
timeout(time: 5, unit: 'MINUTES') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment