mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 21:45:49 +00:00
Changed to use new waitFoirSonarQubeAnalysis step.
This commit is contained in:
parent
ea5d42c395
commit
e2cbcba998
1 changed files with 4 additions and 0 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -29,9 +29,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('SonarQube Quality Gate') {
|
stage('SonarQube Quality Gate') {
|
||||||
|
// we don't want to tie up an agent for this
|
||||||
agent none
|
agent none
|
||||||
|
|
||||||
steps {
|
steps {
|
||||||
|
/*
|
||||||
timeout(time: 1, unit: 'HOURS') {
|
timeout(time: 1, unit: 'HOURS') {
|
||||||
script {
|
script {
|
||||||
// these are the statuses that we'll allow
|
// these are the statuses that we'll allow
|
||||||
|
@ -47,6 +49,8 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
waitForSonarQubeAnalysis 60, ['OK','WARN']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue