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

Variable in in "Doxyfile path" for publish is not resolved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • doxygen-plugin
    • None
    • LTS jenkins master 1.609.1 and 1.624

      When using a variable in the "Doxyfile path" filed in Publish doxygen, this variable seems not to beresolved.
      The same variable in Generate Documentation works

      00:00:08.698 finalizing index lists...
      00:00:08.698 lookup cache used 1927/65536 hits=4492 misses=1975
      00:00:08.698 finished...
      00:00:08.702 Doxygen documentation generation ended with 1 errors and 5 warnings
      00:00:08.747 Publishing Doxygen HTML results.
      00:00:08.768 Using the Doxyfile information.
      00:00:08.769 FATAL: error
      00:00:08.770 java.io.IOException: remote file operation failed: /home/jenkins/workspace/docu_job at hudson.remoting.Channel@68c0fe1e:CI-SLAVE-02: java.io.FileNotFoundException: /home/jenkins/workspace/docu_job/${CONFIG_FILE} (Datei oder Verzeichnis nicht gefunden)
      00:00:08.770 	at hudson.FilePath.act(FilePath.java:985)
      00:00:08.770 	at hudson.FilePath.act(FilePath.java:967)
      00:00:08.770 	at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:219)
      00:00:08.770 	at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:176)
      00:00:08.770 	at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
      00:00:08.770 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
      00:00:08.770 	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
      00:00:08.770 	at hudson.model.Build$BuildExecution.post2(Build.java:183)
      00:00:08.770 	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670)
      00:00:08.770 	at hudson.model.Run.execute(Run.java:1766)
      00:00:08.770 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      00:00:08.770 	at hudson.model.ResourceController.execute(ResourceController.java:98)
      00:00:08.770 	at hudson.model.Executor.run(Executor.java:374)
      00:00:08.770 Caused by: java.io.FileNotFoundException: /home/jenkins/workspace/docu_job/${CONFIG_FILE} (Datei oder Verzeichnis nicht gefunden)
      00:00:08.770 	at java.io.FileInputStream.open(Native Method)
      00:00:08.770 	at java.io.FileInputStream.<init>(FileInputStream.java:146)
      00:00:08.770 	at hudson.plugins.doxygen.DoxygenDirectoryParser.loadDoxyFile(DoxygenDirectoryParser.java:153)
      00:00:08.770 	at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:312)
      00:00:08.770 	at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:60)
      00:00:08.770 	at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:16)
      00:00:08.770 	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2688)
      00:00:08.770 	at hudson.remoting.UserRequest.perform(UserRequest.java:121)
      00:00:08.770 	at hudson.remoting.UserRequest.perform(UserRequest.java:49)
      00:00:08.770 	at hudson.remoting.Request$2.run(Request.java:325)
      00:00:08.770 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      00:00:08.770 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      00:00:08.770 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      00:00:08.770 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      00:00:08.770 	at java.lang.Thread.run(Thread.java:745)
      00:00:08.770 	at ......remote call to CI-SLAVE-02(Native Method)
      00:00:08.770 	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1360)
      00:00:08.770 	at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
      00:00:08.770 	at hudson.remoting.Channel.call(Channel.java:753)
      00:00:08.770 	at hudson.FilePath.act(FilePath.java:978)
      00:00:08.770 	... 12 more
      00:00:08.770 Build step 'Publish Doxygen' changed build result to FAILURE
      00:00:08.771 [BFA] Scanning build for known causes...
      00:00:08.771 [BFA] No failure causes found
      00:00:08.771 [BFA] Done. 0s
      00:00:08.785 Finished: FAILURE
      

        1. Unbenannt.jpg
          106 kB
          Philipp Strobel

            gbois Gregory Boissinot
            phil_ Philipp Strobel
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: