JK
This commit is contained in:
parent
0a1a34a3d0
commit
2f161ab232
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -155,6 +155,7 @@ pipeline {
|
||||
steps {
|
||||
// Wait for the Quality Gate result and fail fast on non-green outcomes.
|
||||
timeout(time: 15, unit: 'MINUTES') {
|
||||
script {
|
||||
def qualityGate = waitForQualityGate()
|
||||
if (qualityGate.status != 'OK') {
|
||||
error "SonarQube Quality Gate failed: ${qualityGate.status}"
|
||||
@ -162,6 +163,7 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Archive') {
|
||||
steps {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user