mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-02 21:59:47 +01:00
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.
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user