Description
Currently, if there is a illegal xml character which is created in the Junit xml test result, Bamboo JUnit Parser will ignore the following exception and the build will still be green/successful being build:
org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x7) was found in the element content of the document. at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at com.atlassian.bamboo.build.test.JunitTestResultsParser.parse(JunitTestResultsParser.java:76) at com.atlassian.bamboo.build.test.JunitTestReportCollector.collect(JunitTestReportCollector.java:35) at com.atlassian.bamboo.build.test.TestCollationServiceImpl$1$1.run(TestCollationServiceImpl.java:88) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)
Bamboo should at least create an System Error or something similiar, so that someone can react on this problem.
Attachments
Issue Links
- duplicates
-
BAM-15890 Build should fail if JUnit Parser encounters errors parsing the test results
- Closed