Skip to content

Latest commit

 

History

History
51 lines (27 loc) · 1.37 KB

README.md

File metadata and controls

51 lines (27 loc) · 1.37 KB

Jenkins Github Plugin

Coverage License wiki

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:

  1. copy the resulting ./target/rdoc.hpi file to the $JENKINS_HOME/plugins directory. Don't forget to restart Jenkins afterwards.

  2. 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=******