diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-10-14 14:12:30 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-10-14 14:26:12 +0200 |
commit | caa141eaa719f52b126065ff42c68fdc36b52437 (patch) | |
tree | d3363baa0adffc97679430172ae017cfb2d7d3ac /.gitlab-ci.yml | |
parent | 06528eebb2255a77904d751e9f3934210cd5945b (diff) | |
download | gitlab-ce-caa141eaa719f52b126065ff42c68fdc36b52437.tar.gz |
Fix retries
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 48015d5ec2a..ace0de5cad3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -99,7 +99,7 @@ update-knapsack: - export KNAPSACK_REPORT_PATH=knapsack/spinach_node_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json - export KNAPSACK_GENERATE_REPORT=true - 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: expire_in: 31d paths: |