Changed to use new waitFoirSonarQubeAnalysis step.

This commit is contained in:
Christopher Jones 2017-09-08 08:14:45 -05:00
parent ea5d42c395
commit e2cbcba998

4
Jenkinsfile vendored
View file

@ -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']
} }
} }