hudson.AbortException: The directory 'C:\Build\workspace\myProject\build/doc\html' doesn't exist.

Jenkins JIRA | Hendrik Fuß | 5 years ago
  1. 0

    For example, if the Doxyfile states: {code} OUTPUT_DIRECTORY = build/doc {code} publishing fails with: {noformat} Publishing Doxygen HTML results. FATAL: error hudson.AbortException: The directory 'C:\Build\workspace\myProject\build/doc\html' doesn't exist. at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:314) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:65) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:24) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1979) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:59) at java.lang.Thread.run(Unknown Source) {noformat} Note the backslash/forward slash confusion in hudson.AbortException. The cygwin version of doxygen correctly handles this Doxyfile. I have not tried any other Windows port. Similar Issues: - JENKINS-5656 - JENKINS-8831^

    Jenkins JIRA | 5 years ago | Hendrik Fuß
    hudson.AbortException: The directory 'C:\Build\workspace\myProject\build/doc\html' doesn't exist.
  2. 0

    For example, if the Doxyfile states: {code} OUTPUT_DIRECTORY = build/doc {code} publishing fails with: {noformat} Publishing Doxygen HTML results. FATAL: error hudson.AbortException: The directory 'C:\Build\workspace\myProject\build/doc\html' doesn't exist. at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:314) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:65) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:24) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1979) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:59) at java.lang.Thread.run(Unknown Source) {noformat} Note the backslash/forward slash confusion in hudson.AbortException. The cygwin version of doxygen correctly handles this Doxyfile. I have not tried any other Windows port. Similar Issues: - JENKINS-5656 - JENKINS-8831^

    Jenkins JIRA | 5 years ago | Hendrik Fuß
    hudson.AbortException: The directory 'C:\Build\workspace\myProject\build/doc\html' doesn't exist.
  3. 0

    I can't get jenkins to build and publish with the doxygen plugin. I get the error below: find . -name \*.m -exec grep -i -H XXX '{}' \; Archiving artifacts Publishing Doxygen HTML results. FATAL: error hudson.AbortException: The output directory doesn't exist. at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:354) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:53) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:14) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2196) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Thread.java:680) Build step 'Publish Doxygen' changed build result to FAILURE An attempt to send an e-mail to empty list of recipients, ignored. Finished: FAILURE The output directory is the directory where my Doxyfile is. I have doxygen installed on my build machine under /usr/local/bin/doxygen. My output dir is: OUTPUT_DIRECTORY = myProj/docs/ My doxyfile is: myProj/docs/Doxyfile I've searched and this error seems common, but it looks like it's supposedly fixed in v0.11 which is what I'm running.

    Jenkins JIRA | 4 years ago | Kevin Moran
    hudson.AbortException: The output directory doesn't exist.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I can't get jenkins to build and publish with the doxygen plugin. I get the error below: find . -name \*.m -exec grep -i -H XXX '{}' \; Archiving artifacts Publishing Doxygen HTML results. FATAL: error hudson.AbortException: The output directory doesn't exist. at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:354) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:53) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:14) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2196) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Thread.java:680) Build step 'Publish Doxygen' changed build result to FAILURE An attempt to send an e-mail to empty list of recipients, ignored. Finished: FAILURE The output directory is the directory where my Doxyfile is. I have doxygen installed on my build machine under /usr/local/bin/doxygen. My output dir is: OUTPUT_DIRECTORY = myProj/docs/ My doxyfile is: myProj/docs/Doxyfile I've searched and this error seems common, but it looks like it's supposedly fixed in v0.11 which is what I'm running.

    Jenkins JIRA | 4 years ago | Kevin Moran
    hudson.AbortException: The output directory doesn't exist.
  6. 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.

    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 'C:\Build\workspace\myProject\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:314)
      2. hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:65)
      3. hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:24)
      3 frames
    3. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:1979)
      1 frame
    4. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.perform(UserRequest.java:114)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:270)
      3 frames
    5. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      3. java.util.concurrent.FutureTask.run(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      5 frames
    6. Hudson :: Remoting Layer
      Engine$1$1.run
      1. hudson.remoting.Engine$1$1.run(Engine.java:59)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame