Request: Option to install plugins through web client instead of server-side.

24 views
Skip to first unread message

Jeremy Morton

unread,
Apr 28, 2016, 1:21:32 PM4/28/16
to Jenkins Users
Like many enterprise servers, my Jenkins server does not have Internet connectivity.

Updating plugins is always a tedious bit of work to see what plugins have new versions in the Update Center, and then going to http://updates.jenkins-ci.org/download/plugins/ to find them by their folder name, downloading the latest .hpi [renaming the subset that download as a .zip], and then using the Advanced tab of the Update Center to upload and install those downloaded files, one by one.

Then today, I upgraded to 2.0, and it wants to install 31 plugins, and my eyes glaze over at this amount of work.

I would like to make a feature request to have the Update Center have a client-side installation/upgrading mechanism. Where checking a plugin to install or update would download the file on the client, and then use the flow that already exists in the Advanced tab to send the file to the server and install it. Then, the Update Center would "just work" again, even for servers that can't connect to the Internet.

James Nord

unread,
Apr 28, 2016, 2:28:04 PM4/28/16
to jenkins...@googlegroups.com
Good news this has been discussed, bad news is that there is no implementation of this yet.

a slightly hacky workaround to save you pulling your hair out every time you want to upgrade...

on your desktop (or machine with access to t'internet) download the json file, then parse it and for each plugin listed download it.
put them in a folder on a local web server (make sure the location is the same as the path in the json file)
on the jenkins server alias the name of the machine that hosts the plugins (updates.jenkins-ci.com) that is in the json file with the name of the local server with the plugins (e.g. edit /etc/hosts) .

et voila - less tedious work!
if you are feeling really clever you could write a script to do this and to only fetch newly updated plugins so you don't have to do it manually every time...

/James
--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e131e771-16ce-4ad8-a08b-dc3000ddb694%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Reply all
Reply to author
Forward
0 new messages