Hi,

I've encountered the similar issue:
Recording NUnit tests results
ERROR: Publisher hudson.plugins.nunit.NUnitPublisher aborted due to exception
hudson.util.IOException2: Could not transform the NUnit report. Please report this issue to the plugin author
at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:60)
at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:26)
at hudson.FilePath.act(FilePath.java:852)
at hudson.FilePath.act(FilePath.java:825)
at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:102)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
at hudson.model.Run.execute(Run.java:1568)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
Caused by: org.xml.sax.SAXParseException; systemId: file:/C:/Workspace/JenkinsWorkspace/smoketest-ZpiReferenceSwitch/temporary-junit-reports/temp-junit.xml; lineNumber: 3; columnNumber: 9; Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at hudson.plugins.nunit.NUnitReportTransformer.splitJUnitFile(NUnitReportTransformer.java:100)
at hudson.plugins.nunit.NUnitReportTransformer.transform(NUnitReportTransformer.java:71)
at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:55)
... 13 more

The temp-junit.xml (partly printed) looks like:
<?xml version="1.0" encoding="UTF-8"?>

nunit.framework

Attribute used to apply a category to a test

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to