Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23960

Not able to configure Test report configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • build-line-plugin
    • None
    • WIndows 7,Jenkin Ver 1.572

      Test step:

      • Provided the source build file i.e dot net file
        As part of the test report configuration added location.
      • Not able to configure the NUnit test result and below is the error message found and not able to complete the job.
      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:922)
      	at hudson.FilePath.act(FilePath.java:895)
      	at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:116)
      	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736)
      	at hudson.model.Build$BuildExecution.post2(Build.java:183)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685)
      	at hudson.model.Run.execute(Run.java:1757)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:234)
      Caused by: org.xml.sax.SAXParseException; systemId: file:/C:/Program%20Files%20(x86)/Jenkins/jobs/Sample3/workspace/temporary-junit-reports/temp-junit.xml; lineNumber: 3; columnNumber: 5; 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
      

            jenkins Jenkins Admin User
            lpradeep LNP
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: