Reputation: 1995
The root of the my application, where the Doxyfile is located, is:
/home/aaa/public_html
I want to generate the documentation in:
/home/bbb/public_html/ccc
It works well but not with Jenkins: I get the error hudson.AbortException: The output directory doesn't exist.
The workspace of my Jenkins job is:
/var/lib/jenkins/jobs/Doxy1/workspace
I tried hard but it won't work. What could I do?
Upvotes: 7
Views: 6738
Reputation: 1
I found that I get this error if the publish doxygen
build step doxyfile path
field contains extra whitespace. Make sure that your doxyfile path doesn't have any trailing spaces or other whitespace characters. My doxygen plugin version is 0.18.
Upvotes: -1
Reputation: 1204
Since version 0.16, the Doxygen plugin provides a build step to generate the documentation.
See https://wiki.jenkins-ci.org/display/JENKINS/Doxygen+Plugin
Upvotes: 0
Reputation: 8064
I've found out that the error hudson.AbortException: The output directory doesn't exist
refers to the OUTPUT_DIRECTORY variable in the Doxygen configuration file.
You have to take three things into account with the Doxygen plugin (at least as of 0.15).
In the Doxygen plugin configuration in a Jenkins task:
In the Doxygen configuration file:
Upvotes: 0
Reputation: 1995
I found the solution.
Instead of using the plugin, I just created freestyle job in Jenkins with the Doxygen generation command in it.
Upvotes: 5