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
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