Offline upgrade considerations from 1.x to 2.x

32 views
Skip to first unread message

Jeff

unread,
Dec 22, 2016, 10:37:28 AM12/22/16
to jenkins...@googlegroups.com
Our Jenkins build server is in a secure (no internet) environment and I'd like to upgrade it.  

Can I install a clean 2.0 with all the plugins (from outside) and then just zip it up, transfer the archive and extract it over the top of the 1.x folder structure (except for the jobs/config.xml) along with dropping in a new .WAR?

Or are there other considerations I need to be aware of?  I haven't found much relating to the upgrade process for this type of scenario.

Thanks.

Baptiste Mathus

unread,
Dec 25, 2016, 2:51:28 PM12/25/16
to jenkins...@googlegroups.com
IIUC what you say. No. Don't install a clean one and drop it, that will overwrite existing files and probably just screw up everything. 

But what you say makes me think of an intermediate way: you can use the typical process to move a master to another machine, but then kind of "move it back".

Roughly: 
1. Set up a server with Internet access 
2. Stop the old server
3. Copy things from the existing one to the Internet ready one
4.  Upgrade it following the standard docs 
5. Move it back (rsync --delete)

Search the list about it. There's been plenty of discussions about it. 

BTW makes me think we should create a page about that on jenkins.io (if there is not already one)

HTH

--
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-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPJK9%3D%2Bih2XFM0CQOzQBN6_4hxKoCR3Ss7r2BkbA6Vtt5%3Dc9kw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Jeff

unread,
Dec 25, 2016, 4:27:41 PM12/25/16
to jenkins...@googlegroups.com
I am unable to do this method.  The powers that be won't allow any machine with source code or access to source code direct access to any external internet sites.  It took 3 months just to get approval to allow Jenkins to send build status emails to an internal server, but only after the Jenkins Master was locked down even further.  


Daniel Beck

unread,
Dec 25, 2016, 4:56:42 PM12/25/16
to jenkins...@googlegroups.com

> On 25.12.2016, at 22:27, Jeff <preda...@gmail.com> wrote:
>
> external internet sites

Could you host your own update site internally, possibly firewalled to only allow access from that specific Jenkins master?

E.g. https://github.com/yandex-qatools/juseppe

Jeff

unread,
Dec 26, 2016, 11:25:51 AM12/26/16
to jenkins...@googlegroups.com
That might work...I couldn't see how to get the latest plugins onto the hosted update server though.  If it needs internet, I'm back at square 1.

I can download and manually transfer files through a special SFTP server that monitors content, but that's the extent of what I can do to get files in/out.

--
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-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages