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

Doxygen Publishing Fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: doxygen-plugin
    • Labels:
      None
    • Environment:
      XP
      Hudson 1.346
      Doclinks plugin 0.3
      Doxygen plugin 0.5
    • Similar Issues:

      Description

      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)

        Attachments

          Activity

          Hide
          starburst Patrick Lemmens added a comment -

          Added component Doxygen

          Show
          starburst Patrick Lemmens added a comment - Added component Doxygen
          Hide
          javydreamercsw javydreamercsw added a comment -

          In my case I got this:

          Publishing Doxygen HTML results.
          FATAL: error
          hudson.AbortException: The directory 'C:\.hudson\jobs\Outlook ES MP\workspace\"./doxygen"\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:753)
          at hudson.FilePath.act(FilePath.java:735)
          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:601)
          at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
          at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
          at hudson.model.Build$RunnerImpl.post2(Build.java:157)
          at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
          at hudson.model.Run.run(Run.java:1303)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:137)

          Where "./doxygen" is the value for OUTPUT_DIRECTORY in the configuration file with a valid relative path.

          Show
          javydreamercsw javydreamercsw added a comment - In my case I got this: Publishing Doxygen HTML results. FATAL: error hudson.AbortException: The directory 'C:\.hudson\jobs\Outlook ES MP\workspace\"./doxygen"\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:753) at hudson.FilePath.act(FilePath.java:735) 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:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:157) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1303) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:137) Where "./doxygen" is the value for OUTPUT_DIRECTORY in the configuration file with a valid relative path.
          Hide
          gbois Gregory Boissinot added a comment -

          Fixed in repository
          https://github.com/jenkinsci/doxygen-plugin
          Could you test it?

          Show
          gbois Gregory Boissinot added a comment - Fixed in repository https://github.com/jenkinsci/doxygen-plugin Could you test it?
          Hide
          nellyt nellyt added a comment -

          Sorry I do not know how to test it if it is code on the repository.
          I am running Win7 and just install hudson.war and download plugins from the gui.
          I do not complile code off the repo

          Show
          nellyt nellyt added a comment - Sorry I do not know how to test it if it is code on the repository. I am running Win7 and just install hudson.war and download plugins from the gui. I do not complile code off the repo
          Hide
          gbois Gregory Boissinot added a comment -
          Show
          gbois Gregory Boissinot added a comment - You can get the fix in this version http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/plugins/doxygen/0.8/ Let me know if it works

            People

            • Assignee:
              Unassigned
              Reporter:
              nellyt nellyt
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: