From e2cbcba99867557847d313116750a3c0606b637b Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Fri, 8 Sep 2017 08:14:45 -0500 Subject: [PATCH] Changed to use new waitFoirSonarQubeAnalysis step. --- Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 530adecc8..1a07469b0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,9 +29,11 @@ pipeline { } stage('SonarQube Quality Gate') { + // we don't want to tie up an agent for this agent none steps { + /* timeout(time: 1, unit: 'HOURS') { script { // these are the statuses that we'll allow @@ -47,6 +49,8 @@ pipeline { } } } + */ + waitForSonarQubeAnalysis 60, ['OK','WARN'] } }