mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 14:55:50 +00:00
added docker stage
This commit is contained in:
parent
1fef4c921e
commit
c9a56dc129
1 changed files with 6 additions and 0 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -21,6 +21,9 @@ pipeline {
|
|||
}
|
||||
|
||||
stage('SonarQube Analysis') {
|
||||
when {
|
||||
branch 'Release'
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
// Run Maven with SonarQube plugin for analysis
|
||||
|
@ -37,6 +40,9 @@ pipeline {
|
|||
}
|
||||
|
||||
stage("Quality Gate") {
|
||||
when {
|
||||
branch 'Release'
|
||||
}
|
||||
steps {
|
||||
timeout(time: 1, unit: 'HOURS') {
|
||||
script {
|
||||
|
|
Loading…
Reference in a new issue