jenkins: stop resumable deadlocks for harbor arm builds
This commit is contained in:
parent
464bf57cda
commit
a9040ff11d
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -63,7 +63,12 @@ spec:
|
|||||||
PUSHGATEWAY_URL = 'http://platform-quality-gateway.monitoring.svc.cluster.local:9091'
|
PUSHGATEWAY_URL = 'http://platform-quality-gateway.monitoring.svc.cluster.local:9091'
|
||||||
}
|
}
|
||||||
options {
|
options {
|
||||||
|
timestamps()
|
||||||
disableConcurrentBuilds()
|
disableConcurrentBuilds()
|
||||||
|
// Avoid "resume deadlocks" when Jenkins restarts mid-build on long Harbor compiles.
|
||||||
|
disableResume()
|
||||||
|
// Hard cap so we fail fast instead of burning workers indefinitely.
|
||||||
|
timeout(time: 180, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Checkout pipeline repo') {
|
stage('Checkout pipeline repo') {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user