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

Doxygen plugin fails on non-default Doxyfile path

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: doxygen-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: Windows XP
    • Similar Issues:

      Description

      I am using Hudson on Windows. I am using doxygen plugin. When I specify the
      doxyfile location as "crackpot_root_dir/Doxyfile" (where the doxyfile is; my
      project's name is "crackpot") and run the plugin I get

      Publishing Doxygen HTML results.
      FATAL: error
      hudson.AbortException: The directory 'C:\Users\.hudson\jobs\Crackpot - Trunk -
      Default Config\workspace\docs\doxygen_html' doesn't exist.
      at
      hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:278)
      at
      hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:57)
      at
      hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:25)
      at hudson.FilePath.act(FilePath.java:676)
      at hudson.FilePath.act(FilePath.java:660)
      at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:158)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:480)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:466)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:454)
      at hudson.model.Build$RunnerImpl.cleanUp(Build.java:152)
      at hudson.model.Run.run(Run.java:1165)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:123)

      The correct location as per the Doxyfile to produce the output is
      "C:\Users\g0700201\.hudson\jobs\Crackpot - Trunk - Default
      Config\workspace\crackpot_root_dir\docs\doxygen_html".

        Attachments

          Activity

          Hide
          in4tunio in4tunio added a comment -

          In the previous comment: the path that the plugin looks for producing output is
          incorrect. There is a missing "crackpot_root_dir" in the path that it looks at.

          Show
          in4tunio in4tunio added a comment - In the previous comment: the path that the plugin looks for producing output is incorrect. There is a missing "crackpot_root_dir" in the path that it looks at.
          Hide
          gbois Gregory Boissinot added a comment -

          Could you attach the Doxyfile?

          Show
          gbois Gregory Boissinot added a comment - Could you attach the Doxyfile?
          Hide
          in4tunio in4tunio added a comment -

          Created an attachment (id=940)
          Doxyfile

          Show
          in4tunio in4tunio added a comment - Created an attachment (id=940) Doxyfile
          Hide
          gbois Gregory Boissinot added a comment -

          I think I found your problem.
          Have you got invoke in a build step the doxygen tool like 'doxygen
          crackpot_root_dir/Doxyfile'?

          The Hudson doxygen plugin is only a publisher plugin.

          Show
          gbois Gregory Boissinot added a comment - I think I found your problem. Have you got invoke in a build step the doxygen tool like 'doxygen crackpot_root_dir/Doxyfile'? The Hudson doxygen plugin is only a publisher plugin.
          Hide
          gbois Gregory Boissinot added a comment -

          Fixed

          Show
          gbois Gregory Boissinot added a comment - Fixed

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              in4tunio in4tunio
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: