Skip to content
Snippets Groups Projects
Verified Commit c7dd601b authored by Alex Iribarren's avatar Alex Iribarren
Browse files

But can only retry twice...

parent 79fd20df
Branches retry
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ build_test: ...@@ -27,7 +27,7 @@ build_test:
# Use double quotes so variable interpolation works, but this requires scaping JSON patch # Use double quotes so variable interpolation works, but this requires scaping JSON patch
- oc patch buildconfig linux-docs -p "{\"spec\":{\"source\":{\"git\":{\"ref\":\"$CI_COMMIT_REF_NAME\"}}}}" - oc patch buildconfig linux-docs -p "{\"spec\":{\"source\":{\"git\":{\"ref\":\"$CI_COMMIT_REF_NAME\"}}}}"
- *common_script - *common_script
retry: 3 retry: 2
except: except:
- master - master
variables: variables:
...@@ -41,7 +41,7 @@ build_prod: ...@@ -41,7 +41,7 @@ build_prod:
- *common_functions - *common_functions
script: script:
- *common_script - *common_script
retry: 3 retry: 2
variables: variables:
<<: *prod_variables <<: *prod_variables
only: only:
...@@ -59,7 +59,7 @@ sync test with prod: ...@@ -59,7 +59,7 @@ sync test with prod:
# Use double quotes so variable interpolation works, but this requires scaping JSON patch # Use double quotes so variable interpolation works, but this requires scaping JSON patch
- oc patch buildconfig linux-docs -p "{\"spec\":{\"source\":{\"git\":{\"ref\":\"$CI_COMMIT_REF_NAME\"}}}}" - oc patch buildconfig linux-docs -p "{\"spec\":{\"source\":{\"git\":{\"ref\":\"$CI_COMMIT_REF_NAME\"}}}}"
- *common_script - *common_script
retry: 3 retry: 2
only: only:
- master - master
variables: variables:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment