Jenkins Github Plugin
Development
Start the local Jenkins instance:
mvn hpi:run
Jenkins Plugin Maven goals
hpi:create Creates a skeleton of a new plugin.
hpi:hpi Builds the .hpi file
hpi:hpl Generates the .hpl file
hpi:run Runs Jenkins with the current plugin project
hpi:upload Posts the hpi file to java.net. Used during the release.
How to install
Run
mvn hpi:hpi
to create the plugin .hpi file.
To install:
-
copy the resulting ./target/rdoc.hpi file to the $JENKINS_HOME/plugins directory. Don't forget to restart Jenkins afterwards.
-
or use the plugin management console (http://example.com:8080/pluginManager/advanced) to upload the hpi file. You have to restart Jenkins in order to find the pluing in the installed plugins list.
Plugin releases
mvn release:prepare release:perform -Dusername=juretta -Dpassword=******