mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
added code analysis stage
This commit is contained in:
parent
8465838ad0
commit
c78cf23b00
1 changed files with 7 additions and 0 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -21,6 +21,13 @@ stages {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage ("sonar cloud code analysis") {
|
||||||
|
steps {
|
||||||
|
dir("spring-petclinic") {
|
||||||
|
sh "./mvnw verify sonar:sonar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
stage("deploy") {
|
stage("deploy") {
|
||||||
steps {
|
steps {
|
||||||
dir("spring-petclinic") {
|
dir("spring-petclinic") {
|
||||||
|
|
Loading…
Reference in a new issue