On Thursday, May 11, 2017 at 1:33:33 AM UTC+1, Owen B. Mehegan wrote: > > I have been given the unenviable task of mapping out a process for > upgrading from Jenkins 1.642.4 to the latest LTS (currently 2.46.2). If I > had to do this blind and unsupported, I'd start by creating a sandbox > Jenkins with a clone of our existing jobs, plugin, and configuration, then > drop the upgrade on it and see what exploded. We have a little over 100 > plugins installed, so if I had to guess what's going to cause problems, I > would expect it to be plugins which are broken by the upgrade, which then > must be upgraded themselves, and before I know it I'm in dependency hell. > > If anyone has experience with this, whether version-specific or just > general tips on how to approach this, I'd love to hear them. Thanks! >
We run Jenkins on real (i.e. non-virtual) machines and for upgrade testing I have a VM cluster which tracks the server O/S and Jenkins versions. It has a subset of the builds in the main Jenkins such that it exercises as many of the plugins as possible. I am in the process of testing an upgrade from 1.609.3 -> 2.46.2, and the process I follow is broadly as you describe. Drop in the new master, discard unreadable data, update master and slaves with new security recommendations, upgrade all plugins, discard newly unreadable configuration data, update with any new securty recommendations. We have over 200 plugins, and I haven't (yet) found a breaking change with this upgrade. One thing of note is that there is an upgrade wizard that comes up on the startup page. I was unable to get this to do anything useful as I suspect it requires a higher Jenkins 1.x.y version for the upgrade to work correctly. -- 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/7d458002-c3a0-45ff-84b0-4e86e7870bf4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
