Where is my javkins joc doc

Where I need to configure, where Jenkins can find JavaDoc files. I saw that JavaDoc-Plugin is installed, but I did not find a place where I could configure it.

This is my pom.xml

<build> <plugins> ... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8</version> </plugin> </plugins> </reporting> 

thanks a lot

+7
source share
1 answer

Freestyle Quests
If you installed the Javadoc plugin (and after restarting Jenkins, if you use Jenkins 1.441 or later), you should see an option in the job configuration.

In the "Post-Build Actions" section, check the "Publish Javadoc" box, and then enter the path to the generated Javadoc relative to the workspace.

To work Maven
If you create Javadoc from your Maven assembly and use the Maven job type in Jenkins, it should be automatically published to the web page for each module built into Jenkins.

See also: http://jenkins.361315.n4.nabble.com/Show-Javadoc-in-Maven2-project-td2340256.html

+9
source

All Articles