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

Doxygen publishing fails with quoted paths.

    XMLWordPrintable

Details

    • Bug
    • Status: In Progress (View Workflow)
    • Major
    • Resolution: Unresolved
    • doxygen-plugin
    • None
    • plugin version 0.6

    Description

      Publishing the doxygen reports fails if the path given in OUTPUT_DIRECTORY is quoted in the Doxyfile.

      Publishing Doxygen HTML results.
      FATAL: error
      hudson.AbortException: The directory '/var/lib/jenkins/jobs/RSC/workspace/"/var/lib/jenkins/jobs/RSC/workspace/rsc/build/doc"/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:756)
      at hudson.FilePath.act(FilePath.java:738)
      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:622)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:601)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:579)
      at hudson.model.Build$RunnerImpl.post2(Build.java:156)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:548)
      at hudson.model.Run.run(Run.java:1386)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:145)

      Attachments

        1. Doxyfile
          75 kB
        2. Doxyfile
          73 kB
        3. Doxyfile
          55 kB

        Activity

          This is the directive from the Doxyfile:
          OUTPUT_DIRECTORY = "/var/lib/jenkins/jobs/RSC/workspace/rsc/build/doc"

          languitar Johannes Wienke added a comment - This is the directive from the Doxyfile: OUTPUT_DIRECTORY = "/var/lib/jenkins/jobs/RSC/workspace/rsc/build/doc"

          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?

          Is there a chance to get a compiled version of that revision or nightly builds? I do not have an environment set up to compile jenkins plugins.

          languitar Johannes Wienke added a comment - Is there a chance to get a compiled version of that revision or nightly builds? I do not have an environment set up to compile jenkins plugins.

          A fix is available in the release 0.8
          http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/plugins/doxygen/0.8/
          Please test it and let me know.
          Thanks in advance

          gbois Gregory Boissinot added a comment - A fix is available in the release 0.8 http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/plugins/doxygen/0.8/ Please test it and let me know. Thanks in advance

          Ok, I can confirm that this works now. Thanks.

          languitar Johannes Wienke added a comment - Ok, I can confirm that this works now. Thanks.

          Hm or not... For one job it works, for another job, that uses exactly thesame file only with different names and versions it fails:

          FATAL: error
          java.lang.NullPointerException
          at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:336)
          at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:54)
          at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:14)
          at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1980)
          at hudson.remoting.UserRequest.perform(UserRequest.java:118)
          at hudson.remoting.UserRequest.perform(UserRequest.java:48)
          at hudson.remoting.Request$2.run(Request.java:270)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
          at java.util.concurrent.FutureTask.run(FutureTask.java:166)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
          at java.lang.Thread.run(Thread.java:636)

          languitar Johannes Wienke added a comment - Hm or not... For one job it works, for another job, that uses exactly thesame file only with different names and versions it fails: FATAL: error java.lang.NullPointerException at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:336) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:54) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:14) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1980) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636)
          gbois Gregory Boissinot added a comment - OK Could you test again with this new version http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/plugins/doxygen/0.9

          Now I get:

          FATAL: error
          hudson.AbortException: The output directory doesn't exist.
          at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:328)
          at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:54)
          at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:14)
          at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1980)
          at hudson.remoting.UserRequest.perform(UserRequest.java:118)
          at hudson.remoting.UserRequest.perform(UserRequest.java:48)
          at hudson.remoting.Request$2.run(Request.java:270)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
          at java.util.concurrent.FutureTask.run(FutureTask.java:166)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
          at java.lang.Thread.run(Thread.java:636)

          languitar Johannes Wienke added a comment - Now I get: FATAL: error hudson.AbortException: The output directory doesn't exist. at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:328) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:54) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:14) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1980) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636)

          Could you attach your Doxyfile?
          Thanks in advance

          gbois Gregory Boissinot added a comment - Could you attach your Doxyfile? Thanks in advance

          Failing doxyfile

          languitar Johannes Wienke added a comment - Failing doxyfile
          pkjmesra Praveen Jha added a comment -

          I'm also using 0.9. It throws the same error of
          FATAL: error
          hudson.AbortException: The output directory doesn't exist.
          at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:328)

          Any quick fixes ?

          pkjmesra Praveen Jha added a comment - I'm also using 0.9. It throws the same error of FATAL: error hudson.AbortException: The output directory doesn't exist. at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:328) Any quick fixes ?
          pkjmesra Praveen Jha added a comment -

          Here's mine.

          pkjmesra Praveen Jha added a comment - Here's mine.
          jrequejo Julian Requejo added a comment - - edited

          Same problem with 0.9
          Has the problem been identified?
          I've also attached my doxyfile
          thanks

          jrequejo Julian Requejo added a comment - - edited Same problem with 0.9 Has the problem been identified? I've also attached my doxyfile thanks

          People

            gbois Gregory Boissinot
            languitar Johannes Wienke
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: