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

generatedJUnitFiles does not exist

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
      xUnit 1.52
      Jenkins 1.506
    • Similar Issues:

      Description

      When I run my build, xUnit logs that the generatedJUnitFiles directory does not exist. My build doesn't create or reference this directory so this must be something xUnit is trying to create?

      [xUnit] [INFO] - Starting to record.
      ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception
      /var/lib/jenkins/jobs/Functional-Production/workspace/generatedJUnitFiles does not exist.
      	at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
      	at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:460)
      	at org.jenkinsci.plugins.xunit.XUnitPublisher$4.invoke(XUnitPublisher.java:292)
      	at org.jenkinsci.plugins.xunit.XUnitPublisher$4.invoke(XUnitPublisher.java:287)
      	at hudson.FilePath.act(FilePath.java:865)
      	at hudson.FilePath.act(FilePath.java:838)
      	at org.jenkinsci.plugins.xunit.XUnitPublisher.getTestResult(XUnitPublisher.java:287)
      	at org.jenkinsci.plugins.xunit.XUnitPublisher.recordTestResult(XUnitPublisher.java:249)
      	at org.jenkinsci.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:123)
      	at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:93)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:820)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:792)
      	at hudson.model.Build$BuildExecution.post2(Build.java:183)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:739)
      	at hudson.model.Run.execute(Run.java:1592)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:237)
      

        Attachments

          Activity

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              postalservice14 John Kelly
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: