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

Can not detect file type on JUNit file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • performance-plugin
    • None

      File in question in attachment. Worked before we upgraded plugin to version that supports "autodetection" (before it was just set as JUnit type)

       

      Is there a particular reason that file is not accepted ?

       

      exact error is:

      ERROR: Build step failed with exception
      java.lang.IllegalArgumentException: Can not detect file type: /var/lib/jenkins/jobs/aclbot/builds/145/temp/TEST-results.xml
      	at hudson.plugins.performance.parsers.ParserDetector.detect(ParserDetector.java:38)
      	at hudson.plugins.performance.parsers.ParserFactory.getParser(ParserFactory.java:43)
      	at hudson.plugins.performance.PerformancePublisher.getParsers(PerformancePublisher.java:439)
      	at hudson.plugins.performance.PerformancePublisher.perform(PerformancePublisher.java:487)
      	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
      	at hudson.model.Build$BuildExecution.post2(Build.java:186)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
      	at hudson.model.Run.execute(Run.java:1755)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:405)

       

            artem_fedorov Artem Fedorov
            xani Mariusz Gronczewski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: