Commit 38ed2637 authored by Fernando Vazquez's avatar Fernando Vazquez

Added sonarqube stage

parent 5eae4400
...@@ -20,7 +20,7 @@ pipeline { ...@@ -20,7 +20,7 @@ pipeline {
} }
stage('SonarQube Analysis') { stage('SonarQube Analysis') {
steps{ steps{
withSonarQubeEnv('Sonarqube') { withSonarQubeEnv('Sonar') {
sh "mvn clean verify sonar:sonar -Dsonar.projectKey=hello-spring" sh "mvn clean verify sonar:sonar -Dsonar.projectKey=hello-spring"
} }
} }
......
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