Skip to content

Commit

Permalink
[CI] Report skipped tests in junit annotations (#10735)
Browse files Browse the repository at this point in the history
Update jUnit buildkite plugin up to version 2.5.0, so skipped
tests can be shown as part of the annotation created in each
buildkite build.
  • Loading branch information
mrodm authored Aug 8, 2024
1 parent ae4f22f commit 2db88f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .buildkite/pipeline.serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ steps:

- label: ":junit: Junit annotate"
plugins:
- junit-annotate#v2.4.1:
- junit-annotate#v2.5.0:
artifacts: "build/test-results/*.xml"
failed-download-exit-code: 0 # Not fail the build in case there are no XML files
report-skipped: true
agents:
provider: "gcp" # junit plugin requires docker

Expand Down
3 changes: 2 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ steps:

- label: ":junit: Junit annotate"
plugins:
- junit-annotate#v2.4.1:
- junit-annotate#v2.5.0:
artifacts: "build/test-results/*.xml"
failed-download-exit-code: 0 # Not fail the build in case there are no XML files
report-skipped: true
agents:
provider: "gcp" # junit plugin requires docker

Expand Down

0 comments on commit 2db88f3

Please sign in to comment.