I ended up going with jenkins-cli. Also forgot I could use cli remotely
(But wasn't necessary in this case).

Docker would totally be a solution if I was using docker to start with.

On Wed, Dec 23, 2015 at 11:15 PM, Baptiste Mathus <[email protected]> wrote:

> Another solution can be to use Docker. Your Dockerfile would be something
> like:
>
> FROM jenkins:1.625.3
> ADD yourplugin.hpi /usr/share/jenkins/ref/plugins/yourplugin.jpi
>
>
> Then build [ && push ] && run.
>
> My 2 cents.
>
> 2015-12-23 20:59 GMT+01:00 Mark Waite <[email protected]>:
>
>> jenkins-cli.jar includes the install-plugin command which can install a
>> plugin.  It can also do a safe restart of the Jenkins server (may be needed
>> after the plugin installation).
>>
>> Mark Waite
>>
>> On Wed, Dec 23, 2015 at 12:39 PM Gavin Mogan <[email protected]>
>> wrote:
>>
>>> Hey everyone
>>>
>>> I can't decide if this belongs on the user list or the dev list but
>>> trying here first.
>>>
>>> Has anyone come up with a way (maven or jenkins) to automatically deploy
>>> a plugin to a jenkins instance? I want to setup a nice demo server that
>>> always has the latest version of our plugin, but don't want to go through
>>> the steps of having to manually goto the plugins page, then upload, then
>>> wait, then restart, etc.
>>>
>>> I can probably script something with the cli tool, but don't want to
>>> duplicate work.
>>>
>>> Gavin
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Developers" 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-dev/7444f258-8e22-4296-8d91-7988648227f6%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-dev/7444f258-8e22-4296-8d91-7988648227f6%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Developers" 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-dev/CAO49JtGOf8_czr2smUr5_z-pSoULFpQa6aYcoM3v9TQ8hQxaYQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtGOf8_czr2smUr5_z-pSoULFpQa6aYcoM3v9TQ8hQxaYQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-dev/oxeeeFVrK98/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS7OXOGDR%2BoMWOPRhs5h-hkoUewUe3g1yxsi%2BYeJ9GVVDA%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS7OXOGDR%2BoMWOPRhs5h-hkoUewUe3g1yxsi%2BYeJ9GVVDA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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-dev/CAG%3D_DuseOaDKAt1B7a%2BBUtHhEOy%3D3PpYkGhyStYd2mgyeefj1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to