My NUnit tests run fine, but when i'm trying to get my information to report i get an error:
NUnit 3.0 Jenkins 1.599 Tests pass but no report is generated. C:\Program Files (x86)\Jenkins\workspace\nunitTest>exit 0 Recording NUnit tests results ERROR: Publisher hudson.plugins.nunit.NUnitPublisher aborted due to exceptionhudson.util.IOException2 <http://stacktrace.jenkins-ci.org/search?query=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) <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.nunit.NUnitArchiver.invoke&entity=method> at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:26) <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.nunit.NUnitArchiver.invoke&entity=method> at hudson.FilePath.act(FilePath.java:989) <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method> at hudson.FilePath.act(FilePath.java:967) <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method> at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:116) <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.nunit.NUnitPublisher.perform&entity=method> at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) <http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$3.perform&entity=method> at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.perform&entity=method> at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps&entity=method> at hudson.model.Build$BuildExecution.post2(Build.java:183) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.post2&entity=method> at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.post&entity=method> at hudson.model.Run.execute(Run.java:1743) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method> at hudson.model.ResourceController.execute(ResourceController.java:89) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> at hudson.model.Executor.run(Executor.java:240) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> Caused by: org.xml.sax.SAXParseException; systemId <http://stacktrace.jenkins-ci.org/search?query=org.xml.sax.SAXParseException;%20systemId>: file:/C:/Program%20Files%20(x86)/Jenkins/workspace/nunitTest/temporary-junit-reports/temp-junit.xml; lineNumber: 32; columnNumber: 1; Premature end of file. 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:102) at hudson.plugins.nunit.NUnitReportTransformer.transform(NUnitReportTransformer.java:72) at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:55) ... 13 more Finished: FAILURE I'm new to Jenkins and have been hacking away here but something just isn't right here. I checked the TestResults.xml and it's populated and verified it's in my workspace. *check image/xml attached *workspace.png and TestResult.xml* In the error i see it reference: file:/C:/Program%20Files%20(x86)/Jenkins/workspace/NUnit%20Testie%20Test/temporary-junit-reports/temp-junit.xml <file:///C:/Program%20Files%20(x86)/Jenkins/workspace/NUnit%20Testie%20Test/temporary-junit-reports/temp-junit.xml>; I checked an the file has a lot of hard returns but no data in it. *temp-junit.xml attached* Also noted PostBuild.png attached. Any help would be great. I have both the NUnit plug in installed as well as the xUnit. Just trying to figure out how to get them to show me what i need. I have reached out to Jenkins and haven't heard anything. Thanks Ren -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/84639eb3-9936-4569-a297-30bc9c3e6865%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
temp-junit.xml
Description: XML document
TestResult.xml
Description: XML document
