Fix retries
This commit is contained in:
parent
06528eebb2
commit
caa141eaa7
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ update-knapsack:
|
||||||
- export KNAPSACK_REPORT_PATH=knapsack/spinach_node_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json
|
- export KNAPSACK_REPORT_PATH=knapsack/spinach_node_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json
|
||||||
- export KNAPSACK_GENERATE_REPORT=true
|
- export KNAPSACK_GENERATE_REPORT=true
|
||||||
- cp knapsack/spinach_report.json ${KNAPSACK_REPORT_PATH}
|
- cp knapsack/spinach_report.json ${KNAPSACK_REPORT_PATH}
|
||||||
- if ! knapsack spinach "-r rerun"; then bundle exec spinach -r rerun $(cat tmp/spinach-rerun.txt); fi
|
- knapsack spinach "-r rerun" || retry '[[ -e tmp/spinach-rerun.txt ]] && bundle exec spinach -r rerun $(cat tmp/spinach-rerun.txt)'
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 31d
|
expire_in: 31d
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in a new issue