@@ -25,7 +25,7 @@ export annotation_input="tests/tmp/annotation.input"
25
25
" annotate --context \* --style \* : cat >'${annotation_input} '; echo Annotation added with context \$ 3 and style \$ 5, content saved"
26
26
27
27
stub docker \
28
- " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* ruby:2.7-alpine ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 64"
28
+ " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* \* ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 64"
29
29
30
30
run " $PWD /hooks/command"
31
31
@@ -53,7 +53,7 @@ export annotation_input="tests/tmp/annotation.input"
53
53
" annotate --context \* --style \* : cat >'${annotation_input} '; echo Annotation added with context \$ 3 and style \$ 5, content saved"
54
54
55
55
stub docker \
56
- " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* ruby:2.7-alpine ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 64"
56
+ " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* \* ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 64"
57
57
58
58
run " $PWD /hooks/command"
59
59
@@ -80,7 +80,7 @@ export annotation_input="tests/tmp/annotation.input"
80
80
" annotate --context \* --style \* : cat >'${annotation_input} '; echo Annotation added with context \$ 3 and style \$ 5, content saved"
81
81
82
82
stub docker \
83
- " --log-level error run --rm --volume \* --volume \* --env BUILDKITE_PLUGIN_JUNIT_ANNOTATE_JOB_UUID_FILE_PATTERN='custom_(*)_pattern.xml' --env \* --env \* ruby:2.7-alpine ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 64"
83
+ " --log-level error run --rm --volume \* --volume \* --env BUILDKITE_PLUGIN_JUNIT_ANNOTATE_JOB_UUID_FILE_PATTERN='custom_(*)_pattern.xml' --env \* --env \* \* ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 64"
84
84
85
85
run " $PWD /hooks/command"
86
86
@@ -107,7 +107,7 @@ export annotation_input="tests/tmp/annotation.input"
107
107
" annotate --context \* --style \* : cat >'${annotation_input} '; echo Annotation added with context \$ 3 and style \$ 5, content saved"
108
108
109
109
stub docker \
110
- " --log-level error run --rm --volume \* --volume \* --env \* --env BUILDKITE_PLUGIN_JUNIT_ANNOTATE_FAILURE_FORMAT='file' --env \* ruby:2.7-alpine ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 64"
110
+ " --log-level error run --rm --volume \* --volume \* --env \* --env BUILDKITE_PLUGIN_JUNIT_ANNOTATE_FAILURE_FORMAT='file' --env \* \* ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 64"
111
111
112
112
run " $PWD /hooks/command"
113
113
@@ -132,7 +132,7 @@ export annotation_input="tests/tmp/annotation.input"
132
132
" artifact download \* \* : echo Downloaded artifact \$ 3 to \$ 4"
133
133
134
134
stub docker \
135
- " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* ruby:2.7-alpine ruby /src/bin/annotate /junits : echo No test errors"
135
+ " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* \* ruby /src/bin/annotate /junits : echo No test errors"
136
136
137
137
run " $PWD /hooks/command"
138
138
@@ -156,7 +156,7 @@ export annotation_input="tests/tmp/annotation.input"
156
156
" annotate --context \* --style \* : cat >'${annotation_input} '; echo Annotation added with context \$ 3 and style \$ 5, content saved"
157
157
158
158
stub docker \
159
- " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* ruby:2.7-alpine ruby /src/bin/annotate /junits : echo No test errors"
159
+ " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* \* ruby /src/bin/annotate /junits : echo No test errors"
160
160
161
161
run " $PWD /hooks/command"
162
162
@@ -194,7 +194,7 @@ export annotation_input="tests/tmp/annotation.input"
194
194
" artifact download \* \* : echo Downloaded artifact \$ 3 to \$ 4"
195
195
196
196
stub docker \
197
- " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* ruby:2.7-alpine ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 64"
197
+ " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* \* ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 64"
198
198
199
199
run " $PWD /hooks/command"
200
200
@@ -226,7 +226,7 @@ export annotation_input="tests/tmp/annotation.input"
226
226
" annotate --context \* --style \* : cat >'${annotation_input} '; echo Annotation added with context \$ 3 and style \$ 5, content saved"
227
227
228
228
stub docker \
229
- " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* ruby:2.7-alpine ruby /src/bin/annotate /junits : cat tests/2-tests-1-failure.output && exit 64"
229
+ " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* \* ruby /src/bin/annotate /junits : cat tests/2-tests-1-failure.output && exit 64"
230
230
231
231
run " $PWD /hooks/command"
232
232
@@ -256,7 +256,7 @@ export annotation_input="tests/tmp/annotation.input"
256
256
" annotate --context \* --style \* : cat >'${annotation_input} '; echo Annotation added with context \$ 3 and style \$ 5, content saved"
257
257
258
258
stub docker \
259
- " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* ruby:2.7-alpine ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 64"
259
+ " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* \* ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 64"
260
260
261
261
run " $PWD /hooks/command"
262
262
@@ -285,7 +285,7 @@ export annotation_input="tests/tmp/annotation.input"
285
285
" artifact download \* \* : echo Downloaded artifact \$ 3 to \$ 4"
286
286
287
287
stub docker \
288
- " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* ruby:2.7-alpine ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 64"
288
+ " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* \* ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 64"
289
289
290
290
run " $PWD /hooks/command"
291
291
@@ -311,7 +311,7 @@ export annotation_input="tests/tmp/annotation.input"
311
311
" artifact download \* \* : echo Downloaded artifact \$ 3 to \$ 4"
312
312
313
313
stub docker \
314
- " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* ruby:2.7-alpine ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 147"
314
+ " --log-level error run --rm --volume \* --volume \* --env \* --env \* --env \* \* ruby /src/bin/annotate /junits : echo '<details>Failure</details>' && exit 147"
315
315
316
316
run " $PWD /hooks/command"
317
317
0 commit comments