Generation of the api docs needs JsDoc Toolkit installed (unzipped at any place).

This BuildStep is necessary, because you'll need to create a build.properties file, which fits the jsdoc-toolkit path of your installation.

cd $WORKSPACE/myapp/
echo "" > build.properties
echo "jsdoctoolkit.directory=/home/spludo/jsdoc_toolkit-2.3.2/jsdoc-toolkit/" >> build.properties

An Invoke Ant for Api-Docs is necessary, because we need to generate the api docs at one point.

api

The Post-build Action "Publish Javadoc" must be activated and given myapp/build/api as Javadoc directory.

Comments