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

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

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: doxygen-plugin
    • Labels:
      None
    • Environment:
      LTS jenkins master 1.609.1 and 1.624
    • Similar Issues:

      Description

      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
      

        Attachments

          Activity

          Hide
          jesperjensen Jesper Jensen added a comment - - edited

          I just saw it in 1.624 on windows 2008 server running Java 1.8_40 and 1.8_51

          I don't have a variable path!

          Publishing Doxygen HTML results.
          11:41:17 FATAL: error
          11:41:17 java.io.IOException: remote file operation failed: C:\Jenkins\workspace\MC4-All-Doc at hudson.remoting.Channel@ac46659:wcjenkins01: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@7f0c3410
          11:41:17 	at hudson.FilePath.act(FilePath.java:987)
          11:41:17 	at hudson.FilePath.act(FilePath.java:969)
          11:41:17 	at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:223)
          11:41:17 	at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:177)
          11:41:17 	at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
          11:41:17 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
          11:41:17 	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
          11:41:17 	at hudson.model.Build$BuildExecution.post2(Build.java:185)
          11:41:17 	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
          11:41:17 	at hudson.model.Run.execute(Run.java:1766)
          11:41:17 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          11:41:17 	at hudson.model.ResourceController.execute(ResourceController.java:98)
          11:41:17 	at hudson.model.Executor.run(Executor.java:381)
          11:41:17 Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@7f0c3410
          11:41:17 	at hudson.remoting.UserRequest.serialize(UserRequest.java:169)
          11:41:17 	at hudson.remoting.UserRequest.<init>(UserRequest.java:63)
          11:41:17 	at hudson.remoting.Channel.call(Channel.java:776)
          11:41:17 	at hudson.FilePath.act(FilePath.java:980)
          11:41:17 	... 12 more
          11:41:17 Caused by: java.io.NotSerializableException: hudson.plugins.doxygen.DoxygenEnvironmentVariableExpander
          11:41:17 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
          11:41:17 	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
          11:41:17 	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
          11:41:17 	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
          11:41:17 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
          11:41:17 	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
          11:41:17 	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
          11:41:17 	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
          11:41:17 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
          11:41:17 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
          11:41:17 	at hudson.remoting.UserRequest._serialize(UserRequest.java:158)
          11:41:17 	at hudson.remoting.UserRequest.serialize(UserRequest.java:167)
          11:41:17 	... 15 more
          11:41:17 Build step 'Publish Doxygen' changed build result to FAILURE
          
          Show
          jesperjensen Jesper Jensen added a comment - - edited I just saw it in 1.624 on windows 2008 server running Java 1.8_40 and 1.8_51 I don't have a variable path! Publishing Doxygen HTML results. 11:41:17 FATAL: error 11:41:17 java.io.IOException: remote file operation failed: C:\Jenkins\workspace\MC4-All-Doc at hudson.remoting.Channel@ac46659:wcjenkins01: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@7f0c3410 11:41:17 at hudson.FilePath.act(FilePath.java:987) 11:41:17 at hudson.FilePath.act(FilePath.java:969) 11:41:17 at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:223) 11:41:17 at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:177) 11:41:17 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32) 11:41:17 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) 11:41:17 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) 11:41:17 at hudson.model.Build$BuildExecution.post2(Build.java:185) 11:41:17 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) 11:41:17 at hudson.model.Run.execute(Run.java:1766) 11:41:17 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 11:41:17 at hudson.model.ResourceController.execute(ResourceController.java:98) 11:41:17 at hudson.model.Executor.run(Executor.java:381) 11:41:17 Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@7f0c3410 11:41:17 at hudson.remoting.UserRequest.serialize(UserRequest.java:169) 11:41:17 at hudson.remoting.UserRequest.<init>(UserRequest.java:63) 11:41:17 at hudson.remoting.Channel.call(Channel.java:776) 11:41:17 at hudson.FilePath.act(FilePath.java:980) 11:41:17 ... 12 more 11:41:17 Caused by: java.io.NotSerializableException: hudson.plugins.doxygen.DoxygenEnvironmentVariableExpander 11:41:17 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) 11:41:17 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) 11:41:17 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) 11:41:17 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) 11:41:17 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) 11:41:17 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) 11:41:17 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) 11:41:17 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) 11:41:17 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) 11:41:17 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) 11:41:17 at hudson.remoting.UserRequest._serialize(UserRequest.java:158) 11:41:17 at hudson.remoting.UserRequest.serialize(UserRequest.java:167) 11:41:17 ... 15 more 11:41:17 Build step 'Publish Doxygen' changed build result to FAILURE
          Hide
          danielbeck Daniel Beck added a comment -

          Jesper Jensen This is a different issue than the reported one (and both are unrelated to the core Jenkins distribution, limited to the plugin).

          Show
          danielbeck Daniel Beck added a comment - Jesper Jensen This is a different issue than the reported one (and both are unrelated to the core Jenkins distribution, limited to the plugin).

            People

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

              Dates

              • Created:
                Updated: