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

Doxygen Publishing Fails

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • doxygen-plugin
    • None
    • XP
      Hudson 1.346
      Doclinks plugin 0.3
      Doxygen plugin 0.5

    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

          Added component Doxygen

          starburst Patrick Lemmens added a comment - Added component Doxygen

          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.

          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.

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

          gbois Gregory Boissinot added a comment - Fixed in repository https://github.com/jenkinsci/doxygen-plugin Could you test it?
          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

          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
          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

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

            Dates

              Created:
              Updated:
              Resolved: