Hi, You can read further about hpi generation files via maven: http://jenkinsci.github.io/maven-hpi-plugin/ In order to run it you need to: - Install JDK - Install maven: https://maven.apache.org/install.html
Then you can run 'mvn hpi:run' to test that plugin based on a local jenkins instance, what probably it's worth to give a go before publishing anything in your production environment. If you want to create the hpi file then run 'mvn clean package' and a) copy the resulting ./target/YOURFILE.hpi file to the $JENKINS_HOME/plugins directory. Don't forget to restart Jenkins afterwards. b) or use the plugin management console (http://YOURJENKINSURL/pluginManager/advanced) to upload the hpi file. You have to restart Jenkins in order to find the plugin in the installed plugins list. Cheers On Wednesday, 2 December 2015 19:37:08 UTC+1, Mark Sinclair wrote: > > > I'd like to install a plugin from GitHub, that's not available as a > standard Jenkins plug-in. I can see this requires a hpi file uploaded on > the advanced tab in the plug in manager. > > The source files I downloaded don't include the hpi, so I assume I need to > compile locally to create the hpi then upload it to my Jenkins instance. > > We don't have maven or ant installed on our linux machines (hardware team > without much software background). The plug-in tutorial I read shows mvn > commands to build the hpi. Is there a way I can use java to compile the > plugin and create the hpi? What's the quickest way for me to go from a > GitHub source directory to a working Jenkins plugin? > > Thanks in advance! > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/dd68629a-6e24-40ab-8ac2-6e5c1233606e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
