From 24052d7896ff7e7870dcad3d4bfcf7a7a9f1cd0f Mon Sep 17 00:00:00 2001 From: Johannes Schnatterer Date: Tue, 9 Oct 2018 11:17:06 +0200 Subject: [PATCH] Jenkins: Increases SonarCloud timeout to 5 minutes. Every now and then sonarcloud is under pressure and needs longer than 2 minutes to call our quality gate webhook. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 57cc3b901f..c0ca5f33d0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -125,7 +125,7 @@ boolean isMainBranch() { boolean waitForQualityGateWebhookToBeCalled() { boolean isQualityGateSucceeded = true - timeout(time: 2, unit: 'MINUTES') { // Needed when there is no webhook for example + timeout(time: 5, unit: 'MINUTES') { // Needed when there is no webhook for example def qGate = waitForQualityGate() echo "SonarQube Quality Gate status: ${qGate.status}" if (qGate.status != 'OK') {