This should create
target/*.hpi file. Other users can use Jenkins' web UI to upload this plugin to Jenkins (or place it in
Releasing a Plugin and Hosting a Plugin on jenkins-ci.org
If you got to this point, you should definitely consider hosting your plugin on jenkins-ci.org. Move on to this document for how to do that. This includes the instructions for releasing the plugin.
Using custom builds of plugins included in the Jenkins WAR