Retry Jenkins CI tests up to 3 times to improve reliability (redux) (#3776)
This commit is contained in:
parent
6d42e56c85
commit
11eaf3eed1
@ -48,13 +48,11 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Jenkins: Build doc') {
|
stage('Jenkins: Build doc') {
|
||||||
retry(3) {
|
|
||||||
agent {
|
|
||||||
label 'linux && cpu && restricted'
|
|
||||||
}
|
|
||||||
steps {
|
steps {
|
||||||
unstash name: 'srcs'
|
|
||||||
script {
|
script {
|
||||||
|
retry(3) {
|
||||||
|
node('linux && cpu && restricted') {
|
||||||
|
unstash name: 'srcs'
|
||||||
def commit_id = "${GIT_COMMIT}"
|
def commit_id = "${GIT_COMMIT}"
|
||||||
def branch_name = "${GIT_LOCAL_BRANCH}"
|
def branch_name = "${GIT_LOCAL_BRANCH}"
|
||||||
echo 'Building doc...'
|
echo 'Building doc...'
|
||||||
@ -70,6 +68,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Jenkins: Build artifacts') {
|
stage('Jenkins: Build artifacts') {
|
||||||
steps {
|
steps {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user