Update Jenkinsfile

This commit is contained in:
ametgud4u 2020-07-07 15:52:01 +05:30 committed by GitHub
parent f4c7c97b7b
commit c2a7eb371d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
Jenkinsfile vendored
View file

@ -18,7 +18,7 @@ node('master'){
} }
stage("Quality Gate"){ stage("Quality Gate"){
timeout(time: 1, unit: 'HOURS') { timeout(time: 15, unit: 'MINUTES') {
def qg = waitForQualityGate() def qg = waitForQualityGate()
if (qg.status != 'OK') { if (qg.status != 'OK') {
error "Pipeline aborted due to quality gate failure: ${qg.status}" error "Pipeline aborted due to quality gate failure: ${qg.status}"