hudson.AbortException: The directory '/var/lib/jenkins/jobs/RSC/workspace/"/var/lib/jenkins/jobs/RSC/workspace/rsc/build/doc"/html' doesn't exist.

Jenkins JIRA | Johannes Wienke | 6 years ago
  1. 0

    Publishing the doxygen reports fails if the path given in OUTPUT_DIRECTORY is quoted in the Doxyfile. Publishing Doxygen HTML results. FATAL: error hudson.AbortException: The directory '/var/lib/jenkins/jobs/RSC/workspace/"/var/lib/jenkins/jobs/RSC/workspace/rsc/build/doc"/html' doesn't exist. at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:292) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:56) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:24) at hudson.FilePath.act(FilePath.java:756) at hudson.FilePath.act(FilePath.java:738) at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:150) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:622) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:579) at hudson.model.Build$RunnerImpl.post2(Build.java:156) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:548) at hudson.model.Run.run(Run.java:1386) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145)

    Jenkins JIRA | 6 years ago | Johannes Wienke
    hudson.AbortException: The directory '/var/lib/jenkins/jobs/RSC/workspace/"/var/lib/jenkins/jobs/RSC/workspace/rsc/build/doc"/html' doesn't exist.
  2. 0

    Publishing the doxygen reports fails if the path given in OUTPUT_DIRECTORY is quoted in the Doxyfile. Publishing Doxygen HTML results. FATAL: error hudson.AbortException: The directory '/var/lib/jenkins/jobs/RSC/workspace/"/var/lib/jenkins/jobs/RSC/workspace/rsc/build/doc"/html' doesn't exist. at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:292) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:56) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:24) at hudson.FilePath.act(FilePath.java:756) at hudson.FilePath.act(FilePath.java:738) at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:150) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:622) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:579) at hudson.model.Build$RunnerImpl.post2(Build.java:156) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:548) at hudson.model.Run.run(Run.java:1386) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145)

    Jenkins JIRA | 6 years ago | Johannes Wienke
    hudson.AbortException: The directory '/var/lib/jenkins/jobs/RSC/workspace/"/var/lib/jenkins/jobs/RSC/workspace/rsc/build/doc"/html' doesn't exist.
  3. 0

    Doxygen correctly runs in my workspace at C:\neilt\projects\hudson\jobs\CCode\workspace\top_level\doc\auto_doc This folder contains the Doxyfile (attached) The resulting files are correctly placed in C:\neilt\projects\hudson\jobs\CCode\workspace\top_level\doc\auto_doc\html My job is configured to publish the doxygen In the job config page the Doxyfile path is set to top_level/doc/auto_doc/Doxyfile I get this at the console : TASKS] Scanning workspace files for tasks... [TASKS] Found 292 annotations (0 new, 22 high, 270 normal, 0 low) [TASKS] Not changing build status, since no threshold has been exceeded [WARNINGS] Parsing warnings in console log... [WARNINGS] Found 40 annotations (0 new, 0 high, 40 normal, 0 low) [WARNINGS] Not changing build status, since no threshold has been exceeded Recording test results [DocLinks] Copying FileLocks in c/h files to 1 ... Sending e-mails to: xxxxxxx Publishing Doxygen HTML results. FATAL: error hudson.AbortException: The directory 'C:\neilt\projects\hudson\jobs\CCode\workspace\html' doesn't exist. at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:292) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:56) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:24) at hudson.FilePath.act(FilePath.java:694) at hudson.FilePath.act(FilePath.java:676) at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:159) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:158) at hudson.model.Run.run(Run.java:1240) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) Finished: FAILURE This seems to imply that Doxygen must be run from the root of the workspace or the output path in the doxyfile must be absolute (which is not possible for me)

    Jenkins JIRA | 7 years ago | nellyt
    hudson.AbortException: The directory 'C:\neilt\projects\hudson\jobs\CCode\workspace\html' doesn't exist.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    In my Doxyfile (attached) I have: OUTPUT_DIRECTORY = The Doxyfile is in the root of the workspace and that is also where Doxygen is run. If I leave "Folder from which doxygen is run" empty, I get the following stack trace: FATAL: error java.lang.NullPointerException at hudson.plugins.doxygen.DoxygenDirectoryParser$2.invoke(DoxygenDirectoryParser.java:154) at hudson.plugins.doxygen.DoxygenDirectoryParser$2.invoke(DoxygenDirectoryParser.java:152) at hudson.FilePath.act(FilePath.java:788) at hudson.FilePath.act(FilePath.java:770) at hudson.plugins.doxygen.DoxygenDirectoryParser.getDoxygenGeneratedDir(DoxygenDirectoryParser.java:152) at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:325) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:54) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:14) at hudson.FilePath.act(FilePath.java:788) at hudson.FilePath.act(FilePath.java:770) at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:219) at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:176) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:675) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:653) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:622) at hudson.model.Run.run(Run.java:1434) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Build step 'Publish Doxygen' changed build result to FAILURE If I set "Folder from which doxygen is run" to ".", then I get the following stacktrace: Publishing Doxygen HTML results. FATAL: error hudson.AbortException: The output directory doesn't exist. at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:343) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:54) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:14) at hudson.FilePath.act(FilePath.java:788) at hudson.FilePath.act(FilePath.java:770) at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:219) at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:176) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:656) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625) at hudson.model.Run.run(Run.java:1435) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Build step 'Publish Doxygen' changed build result to FAILURE

    Jenkins JIRA | 5 years ago | Martin Hans
    hudson.AbortException: The output directory doesn't exist.
  6. 0

    If the OUTPUT_DIRECTORY defined in the doxyfile contains an environment variable (e.g. "OUTPUT_DIRECTORY = ../Doxygen$(PROJECTNAME)") doxygen plug-in fails to deploy the documentation {code}Publishing Doxygen HTML results. Using the Doxyfile information. FATAL: error hudson.AbortException: The output directory doesn't exist. at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:321) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:60) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:16) at hudson.FilePath.act(FilePath.java:914) at hudson.FilePath.act(FilePath.java:887) at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:219) at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:176) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:725) at hudson.model.Run.execute(Run.java:1701) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Build step 'Publish Doxygen' changed build result to FAILURE{code}

    Jenkins JIRA | 3 years ago | Christoph VogtlÃĪnder
    hudson.AbortException: The output directory doesn't exist.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.AbortException

      The directory '/var/lib/jenkins/jobs/RSC/workspace/"/var/lib/jenkins/jobs/RSC/workspace/rsc/build/doc"/html' doesn't exist.

      at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile()
    2. hudson.plugins.doxygen
      DoxygenDirectoryParser.invoke
      1. hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:292)
      2. hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:56)
      3. hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:24)
      3 frames
    3. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:756)
      2. hudson.FilePath.act(FilePath.java:738)
      2 frames
    4. hudson.plugins.doxygen
      DoxygenArchiver.perform
      1. hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:150)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:622)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:601)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:579)
      5. hudson.model.Build$RunnerImpl.post2(Build.java:156)
      6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:548)
      7. hudson.model.Run.run(Run.java:1386)
      8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:145)
      10 frames