Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to set JUnit failures to show as warnings in Build

Hi there,

The current build system that I'm working on includes some JUnit tests. Whenever these are run, if a single test case fails, the whole build is marked red. Is there any way of specifying that if a JUnit test fails, this should be seen as a warning, not an error?

Extra Information:
I am using a formatter to print the JUnit test results to a file, which is then picked up by a junitLogPublisher. I have a feeling that it is when this log is read by the junitLogPublisher, the build is affected and set to failed using the ${buildResultUUID}.

Cheers,
Jon

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 07 '12, 11:06 a.m.

Question was seen: 8,200 times

Last updated: Mar 07 '12, 11:06 a.m.

Confirmation Cancel Confirm