Stemming the flow of evincible Ignorance. We must try to understand for the sake of understanding.
Archive for August, 2012
Mark a job unstable in Jenkins from a shell script
11 years
by Jesse Morgan
in Uncategorized
Here’s the workaround I cam up with
Configure JUnit reports to read status.xml and output something like this:
echo '<testsuite><testcase classname="yourJob" name="yourError"><failure> a description of the error </failure></testcase></testsuite>'>status.xml
Simple as that!