[monorepo] add 3 retries to all the Jenkins pipelines (#28516)

GitOrigin-RevId: d52cb329481586daddade00cecc91875e9ae0de6
This commit is contained in:
Jakob Ackermann
2025-09-16 16:24:40 +02:00
committed by Copybot
parent 941ddd6c19
commit 360743c418
3 changed files with 5 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ pipeline {
timestamps()
// Abort build after hitting first failure.
parallelsAlwaysFailFast()
retry(3)
timeout(time: 15, unit: 'MINUTES')
}

View File

@@ -10,6 +10,7 @@ pipeline {
options {
timestamps()
parallelsAlwaysFailFast()
retry(3)
timeout(time: 15, unit: 'MINUTES')
}
@@ -20,8 +21,8 @@ pipeline {
AR_REPO_LOCATION = 'us-east1'
AR_URL = 'us-east1-docker.pkg.dev/overleaf-ops/ol-docker'
BRANCH_NAME = "${env.CHANGE_BRANCH ? env.CHANGE_BRANCH : env.BRANCH_NAME}"
JENKINS_BUILD_NUMBER = "${BUILD_NUMBER}"
BUILD_NUMBER = "${SHORT_SHA}_${BUILD_NUMBER}"
JENKINS_BUILD_NUMBER = "${BUILD_NUMBER}"
BUILD_NUMBER = "${SHORT_SHA}_${BUILD_NUMBER}"
DOCKER_COMPOSE_FLAGS = '-f docker-compose.ci.yml'
COMMIT_SHA = "${GIT_COMMIT}"
SHORT_SHA = "${GIT_COMMIT.take(7)}"

View File

@@ -27,6 +27,7 @@ pipeline {
timestamps()
// Abort build after hitting first failure.
parallelsAlwaysFailFast()
retry(3)
timeout(time: 15, unit: 'MINUTES')
}