Skip to content

Commit 1a4694e

Browse files
committed
Merge remote-tracking branch 'upstream/master' into lts
2 parents 46d3de9 + 386a355 commit 1a4694e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,7 @@ test-%: prepare-test
100100
# Ensure that the image is built
101101
@make --silent build-$*
102102
# Execute the test harness and write result to a TAP file
103-
IMAGE=$* bats/bin/bats $(bats_flags) | tee target/results-$*.tap
104-
# convert TAP to JUNIT
105-
docker run --rm -v "$(CURDIR)":/usr/src/app -w /usr/src/app node:22-alpine \
106-
sh -c "npm install -g npm@latest && npm install tap-xunit -g && cat target/results-$*.tap | tap-xunit --package='jenkinsci.docker.$*' > target/junit-results-$*.xml"
103+
IMAGE=$* bats/bin/bats $(bats_flags) --formatter junit | tee target/junit-results-$*.xml
107104

108105
test: prepare-test
109106
@make --silent list | while read image; do make --silent "test-$${image}"; done

0 commit comments

Comments
 (0)