mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
[monorepo] add 3 retries to all the Jenkins pipelines (#28516)
GitOrigin-RevId: d52cb329481586daddade00cecc91875e9ae0de6
This commit is contained in:
Vendored
+1
@@ -24,6 +24,7 @@ pipeline {
|
|||||||
timestamps()
|
timestamps()
|
||||||
// Abort build after hitting first failure.
|
// Abort build after hitting first failure.
|
||||||
parallelsAlwaysFailFast()
|
parallelsAlwaysFailFast()
|
||||||
|
retry(3)
|
||||||
timeout(time: 15, unit: 'MINUTES')
|
timeout(time: 15, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+3
-2
@@ -10,6 +10,7 @@ pipeline {
|
|||||||
options {
|
options {
|
||||||
timestamps()
|
timestamps()
|
||||||
parallelsAlwaysFailFast()
|
parallelsAlwaysFailFast()
|
||||||
|
retry(3)
|
||||||
timeout(time: 15, unit: 'MINUTES')
|
timeout(time: 15, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -20,8 +21,8 @@ pipeline {
|
|||||||
AR_REPO_LOCATION = 'us-east1'
|
AR_REPO_LOCATION = 'us-east1'
|
||||||
AR_URL = 'us-east1-docker.pkg.dev/overleaf-ops/ol-docker'
|
AR_URL = 'us-east1-docker.pkg.dev/overleaf-ops/ol-docker'
|
||||||
BRANCH_NAME = "${env.CHANGE_BRANCH ? env.CHANGE_BRANCH : env.BRANCH_NAME}"
|
BRANCH_NAME = "${env.CHANGE_BRANCH ? env.CHANGE_BRANCH : env.BRANCH_NAME}"
|
||||||
JENKINS_BUILD_NUMBER = "${BUILD_NUMBER}"
|
JENKINS_BUILD_NUMBER = "${BUILD_NUMBER}"
|
||||||
BUILD_NUMBER = "${SHORT_SHA}_${BUILD_NUMBER}"
|
BUILD_NUMBER = "${SHORT_SHA}_${BUILD_NUMBER}"
|
||||||
DOCKER_COMPOSE_FLAGS = '-f docker-compose.ci.yml'
|
DOCKER_COMPOSE_FLAGS = '-f docker-compose.ci.yml'
|
||||||
COMMIT_SHA = "${GIT_COMMIT}"
|
COMMIT_SHA = "${GIT_COMMIT}"
|
||||||
SHORT_SHA = "${GIT_COMMIT.take(7)}"
|
SHORT_SHA = "${GIT_COMMIT.take(7)}"
|
||||||
|
|||||||
Vendored
+1
@@ -27,6 +27,7 @@ pipeline {
|
|||||||
timestamps()
|
timestamps()
|
||||||
// Abort build after hitting first failure.
|
// Abort build after hitting first failure.
|
||||||
parallelsAlwaysFailFast()
|
parallelsAlwaysFailFast()
|
||||||
|
retry(3)
|
||||||
timeout(time: 15, unit: 'MINUTES')
|
timeout(time: 15, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user