I have maven project that is built by Jenkins-CI. How to generate and publish JavaDoc on Jenkins?
preguntado el 24 de diciembre de 12 a las 02:12
- Make sure Jenkins javadoc plugin is installed.
Utilice la herramienta http://yourjenkinsserver.com/jenkins/pluginManager/installed to see list of intalled plugins.
Página de complementos https://wiki.jenkins-ci.org/display/JENKINS/Javadoc+Plugin
Configure Jenkins job:
In Build section, Goals and options line add:
That's all. No need to change pom.xml
The simplest thing to do is to create a separate task that runs thr javadoc command, and which runs after the compile task. You pass it the input and output directories.
I would run a separate tomcat for your CI website - it's easier.