Created
December 3, 2017 18:20
-
-
Save sandeeplearner/5e8d1158800e50301d8817caa80b9d77 to your computer and use it in GitHub Desktop.
test failure parser
This file contains hidden or 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
| file=/Users/Shared/Jenkins/Home/workspace/YourProject/test-reports/reports.xml | |
| if | |
| grep -q "failure message=" $file | |
| then | |
| exit 1 | |
| else | |
| echo "fine" | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment