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

Doxygen plug-in does not handle environment variable in OUTPUT_DIRECTORY definition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • doxygen-plugin
    • None
    • Jenkins LTS 1.554.1
      Doxygen Plug-in 0.15

      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

      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

            gbois Gregory Boissinot
            gordin Christoph VogtlÃĪnder
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: