This repository contains the scripts necessary to generate javadocs for publication to the jenkins.io infrastructure.
The jenkins.io production site includes:
-
Root Javadoc for Jenkins Weekly release
-
Plugin Javadoc for many Jenkins plugins
-
Component Javadoc for Jenkins components and libraries (currently a partial list of components)
-
Archive Javadoc for past Jenkins releases
The repository offers a Dockerfile
,
which can be used for running the build and verifying results.
Build command:
docker build -t jenkinsinfra/javadoc-dev --build-arg LTS_RELEASES="2.332 2.346" --build-arg PLUGINS="credentials git git-client" .
Optional arguments:
-
LTS_RELEASES
- list of LTS releases to be published-
Example: "2.332 2.346"
-
Default: all LTS lines returned by Jenkins Artifactory
-
Javadoc for the latest weekly will be published anyway
-
-
PLUGINS
- list of plugins to be published-
Example: "credentials git git-client"
-
Default: all plugins by the default Jenkins update site
-
Run command:
docker run --rm -p 9090:80 jenkinsinfra/javadoc-dev
After starting the image the update site will be available at DOCKER_HOST:9090
,
so you will be able to browse the contents similarly to Jenkins Javadoc.