-
Notifications
You must be signed in to change notification settings - Fork 688
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI - Add app/testinfra results into combinedf junit
In english, this should make it much simpler for a developer to get status in CircleCI when either the testinfra or application tests fail at an execution level. Previously this data was hard to parse and/or required manually reading thru an artifact. Fixes #2800 (cherry picked from commit 39f2d82)
- Loading branch information
1 parent
652b274
commit 54cdbb1
Showing
2 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<testsuite errors="0" failures="{% if item.result|failed %}1{% else %}0{% endif %}" name="ansible" tests="1" time="0"> | ||
<testcase classname="high-level-test-runner-result" file="{{ item.file }}" name="{{ item.type }}" time="0"> | ||
<system-out>{{ item.result.stdout|striptags }}</system-out> | ||
<system-err>{{ item.result.stderr|striptags }}</system-err> | ||
{% if item.result|failed %}<failure message="{{ item.type }} runner failed during execution phase"></failure>{% endif %} | ||
</testcase> | ||
</testsuite> |