Maven is the quickest way.   Steps below are oversimplified without knowing
more detail about the project/plugin.

   1. Install Maven
      1. 'sudo apt-get install maven'
      2.
      
http://apache.mesi.com.ar/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
   2. Clone git repository
      1. git clone <GIT_URL>
   3. Change to project root folder (location of Maven pom.xml file)
      1. cd <PROJECT_FOLDER>
   4. Build it
      1. mvn install

The HPI will likely be somewhere in the <PROJECT_FOLDER>/target/ folder.

On Wed, Dec 2, 2015 at 11:37 AM, Mark Sinclair <[email protected]>
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/47ab61a9-e892-4bd0-8a9d-04125ba567d5%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/47ab61a9-e892-4bd0-8a9d-04125ba567d5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeff Vincent
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent

-- 
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/CAPJK9%3DLL6%3DQorkh-iekebMOxm_teRoMzj5g3mh7ixOphofvEVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to