mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Retry release jobs on failure
This commit is contained in:
parent
091dae07a4
commit
a3851c9214
@ -14,6 +14,8 @@
|
||||
- if: $CI_PIPELINE_SOURCE != "merge_request_event" && $CI_PIPELINE_SOURCE != "schedule" && ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/)
|
||||
when: on_success
|
||||
- when: never
|
||||
retry:
|
||||
max: 1
|
||||
|
||||
# Template to only run if pushes to master or a tag happened for scheduled builds
|
||||
.release-nightly-tmp-fix-airshipper:
|
||||
@ -22,3 +24,5 @@
|
||||
- if: $CI_PIPELINE_SOURCE == "schedule" && ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/)
|
||||
when: on_success
|
||||
- when: never
|
||||
retry:
|
||||
max: 1
|
||||
|
Loading…
Reference in New Issue
Block a user