File tree 2 files changed +30
-0
lines changed
2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 89
89
- run :
90
90
name : Integration Tests
91
91
command : mvn integration-test
92
+ - run :
93
+ name : zip and retrieve test data
94
+ command : ./docker/stop_db.sh
95
+ when : on_fail
96
+ - store_artifacts :
97
+ path : result.tar.gz
92
98
- report
93
99
- store_cache
94
100
@@ -126,6 +132,12 @@ jobs:
126
132
- run :
127
133
name : Integration Tests
128
134
command : mvn integration-test -Ddistributed -Darango.topology=$STARTER_MODE
135
+ - run :
136
+ name : zip and retrieve test data
137
+ command : ./docker/stop_db.sh
138
+ when : on_fail
139
+ - store_artifacts :
140
+ path : result.tar.gz
129
141
- report
130
142
- store_cache
131
143
@@ -153,6 +165,12 @@ jobs:
153
165
- run :
154
166
name : Integration Tests
155
167
command : mvn integration-test -Ddistributed -DSslTest=true -Dit.test=com.arangodb.kafka.SslIT
168
+ - run :
169
+ name : zip and retrieve test data
170
+ command : ./docker/stop_db.sh
171
+ when : on_fail
172
+ - store_artifacts :
173
+ path : result.tar.gz
156
174
- report
157
175
- store_cache
158
176
@@ -181,6 +199,12 @@ jobs:
181
199
- run :
182
200
name : Integration Tests
183
201
command : mvn integration-test -DresilienceTests -Darango.topology=$STARTER_MODE -Dit.test=com.arangodb.kafka.resilience.**
202
+ - run :
203
+ name : zip and retrieve test data
204
+ command : ./docker/stop_db.sh
205
+ when : on_fail
206
+ - store_artifacts :
207
+ path : result.tar.gz
184
208
- report
185
209
- store_cache
186
210
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -x
2
+
3
+ docker stop adb
4
+
5
+ docker cp adb-data:/data - > result.tar
6
+ gzip result.tar
You can’t perform that action at this time.
0 commit comments