Sonarcloud added to jenkins steps

This commit is contained in:
Natalia Villegas 2018-12-16 22:52:26 -03:00
parent d39d496a42
commit 60cc11f9a2

6
Jenkinsfile vendored
View file

@ -22,6 +22,12 @@ pipeline {
} }
} }
stage('Sonar') {
steps {
sh 'mvn sonar:sonar -Dsonar.projectKey=villegasnaty_spring-petclinic -Dsonar.organization=villegasnaty-github -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=5f3fd10f7702318ee919ea4d55890502510b2448'
}
}
stage('Run local container') { stage('Run local container') {
agent any agent any