ci: create a merged junit report
Upload a build artifact that is the merged junit report in both xml and html format. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
bce0d52664
commit
335c88f4d0
2 changed files with 20 additions and 0 deletions
|
@ -27,6 +27,16 @@ steps:
|
|||
- junit-annotate#v1.7.0:
|
||||
artifacts: twister-*.xml
|
||||
|
||||
- command: |
|
||||
buildkite-agent artifact download twister-*.xml .
|
||||
junitparser merge twister-*.xml junit.xml
|
||||
buildkite-agent artifact upload junit.xml
|
||||
junit2html junit.xml
|
||||
buildkite-agent artifact upload junit.xml.html
|
||||
cat << EOF | buildkite-agent annotate --style "info"
|
||||
Read the <a href="artifact://junit.xml.html">JUnit test report</a>
|
||||
EOF
|
||||
|
||||
notify:
|
||||
- email: "builds+int+399+7809482394022958124@lists.zephyrproject.org"
|
||||
if: build.state != "passed"
|
||||
|
|
|
@ -26,3 +26,13 @@ steps:
|
|||
- plugins:
|
||||
- junit-annotate#v1.7.0:
|
||||
artifacts: twister-*.xml
|
||||
|
||||
- command: |
|
||||
buildkite-agent artifact download twister-*.xml .
|
||||
junitparser merge twister-*.xml junit.xml
|
||||
buildkite-agent artifact upload junit.xml
|
||||
junit2html junit.xml
|
||||
buildkite-agent artifact upload junit.xml.html
|
||||
cat << EOF | buildkite-agent annotate --style "info"
|
||||
Read the <a href="artifact://junit.xml.html">JUnit test report</a>
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue