Commit 6d38b533 authored by Fernando Vazquez's avatar Fernando Vazquez

Added sonar package fix

parent d27c18ec
......@@ -41,8 +41,7 @@ pipeline {
steps{
withSonarQubeEnv('Sonarqube') {
echo "Running SonarQube analysis...."
sh "mvn clean verify sonar:sonar -Dsonar.projectKey=hello-spring"
sh "mvn package sonar:sonar"
sh "mvn package 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