Skip to content

Commit 3d2acfa

Browse files
uncommenting waitForQualityGate step (#2933)
1 parent 68663c9 commit 3d2acfa

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Jenkinsfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -347,14 +347,14 @@ pipeline {
347347
}
348348
}
349349

350-
// stage('Verify Sonar Quality Gate') {
351-
// steps {
352-
// timeout(time: 10, unit: 'MINUTES') {
353-
// // Set abortPipeline to true to stop the build if the Quality Gate is not met.
354-
// waitForQualityGate(abortPipeline: false, webhookSecretId: "${sonar_webhook_secret_creds}")
355-
// }
356-
// }
357-
// }
350+
stage('Verify Sonar Quality Gate') {
351+
steps {
352+
timeout(time: 10, unit: 'MINUTES') {
353+
// Set abortPipeline to true to stop the build if the Quality Gate is not met.
354+
waitForQualityGate(abortPipeline: false, webhookSecretId: "${sonar_webhook_secret_creds}")
355+
}
356+
}
357+
}
358358

359359
stage('Make Workspace bin directory') {
360360
steps {

0 commit comments

Comments
 (0)