Skip to content

Commit 547a994

Browse files
committed
only on fail
1 parent 9a53467 commit 547a994

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.circleci/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,10 @@ jobs:
9292
- run:
9393
name: zip and retrieve test data
9494
command: ./docker/stop_db.sh
95+
when: on_fail
9596
- store_artifacts:
9697
path: result.tar.gz
98+
when: on_fail
9799
- report
98100
- store_cache
99101

@@ -134,8 +136,10 @@ jobs:
134136
- run:
135137
name: zip and retrieve test data
136138
command: ./docker/stop_db.sh
139+
when: on_fail
137140
- store_artifacts:
138141
path: result.tar.gz
142+
when: on_fail
139143
- report
140144
- store_cache
141145

@@ -166,8 +170,10 @@ jobs:
166170
- run:
167171
name: zip and retrieve test data
168172
command: ./docker/stop_db.sh
173+
when: on_fail
169174
- store_artifacts:
170175
path: result.tar.gz
176+
when: on_fail
171177
- report
172178
- store_cache
173179

@@ -199,8 +205,10 @@ jobs:
199205
- run:
200206
name: zip and retrieve test data
201207
command: ./docker/stop_db.sh
208+
when: on_fail
202209
- store_artifacts:
203210
path: result.tar.gz
211+
when: on_fail
204212
- report
205213
- store_cache
206214

0 commit comments

Comments
 (0)