summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-10-14 13:09:18 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-10-14 14:26:12 +0200
commit06528eebb2255a77904d751e9f3934210cd5945b (patch)
treed1fc03b76d74b84ca8927a0651725a0c38353119 /.gitlab-ci.yml
parentfd7fb993667265967633a1ac51f0ed17d852ae64 (diff)
downloadgitlab-ce-06528eebb2255a77904d751e9f3934210cd5945b.tar.gz
Re-run specs if failed
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 30471286026..48015d5ec2a 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}
- - knapsack spinach
+ - if ! knapsack spinach "-r rerun"; then bundle exec spinach -r rerun $(cat tmp/spinach-rerun.txt); fi
artifacts:
expire_in: 31d
paths: