mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 09:05:50 +00:00
Update Jenkinsfile
This commit is contained in:
parent
c4df17ed8f
commit
4ebd6478b5
1 changed files with 5 additions and 2 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -9,9 +9,12 @@ pipeline {
|
|||
|
||||
stage('sonar') {
|
||||
steps {
|
||||
sh './mvnw sonar:sonar'
|
||||
withSonarQubeEnv(installationName:'sonar-1')
|
||||
{
|
||||
sh './mvnw clean sonar:sonar'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue