forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JUnit XML for Unit Tests and Bug Fix (istio#3709)
Automatic merge from submit-queue. JUnit XML for Unit Tests and Bug Fix The bug was that when a Prow job fails, no xml results are uploaded because the test script exit on nonzero status immediately and the xml file was move to artifacts / upload directory as the last step. By creating the files in `_artifacts` dir directly, it is always uploaded by Prow. Also git ignores the junit results so developers running tests locally will not pollute his/her workspace. Passing junit xml file names through environment variables provides more flexibility and prevents overwriting results if executing multiple commands that all generate junit xmls.
- Loading branch information
1 parent
e86799e
commit 7b48c53
Showing
5 changed files
with
33 additions
and
15 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
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
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