mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 16:25:49 +00:00
Sonarcloud added to jenkins steps
This commit is contained in:
parent
d39d496a42
commit
60cc11f9a2
1 changed files with 6 additions and 0 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -21,6 +21,12 @@ pipeline {
|
|||
sh 'docker push $DOCKER_USER/pet-clinic:latest'
|
||||
}
|
||||
}
|
||||
|
||||
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') {
|
||||
|
|
Loading…
Reference in a new issue