Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins move from rolling release to stable (LTS) release

Tags:

I'm using Jenkins rolling release, I was trying to move to LTS release of jenkins but I didn't found a direct way to move from rolling release to LTS version.

There are lot's of configuration in my older Jenkins, so just can't install fresh Jenkins.

Is there any way to move from rolling release to LTS version?

like image 268
Sumit Murari Avatar asked Mar 05 '15 05:03

Sumit Murari


People also ask

What is difference between Jenkins LTS and Jenkins?

Choosing a version. You need to balance compatibility and features: Keeping the Jenkins version your plugin builds against low will allow more users to install and use your plugin. In particular, the LTS Release Line is based on slightly older releases to provide a more stable experience for conservative users.

How do I get the new Jenkins LTS?

The Jenkins download page has text to indicate the current version designated as LTS (e.g., 2.46. 2). To download the current Jenkins LTS release binary for Ubuntu, there are two choices: distro-specific packages, which contain the version in their name so as to not be ambiguous.

What is LTS version of Jenkins?

Several companies maintain their own private branches off of Jenkins for stabilization and internal customizations. We encourage everybody to shift a part of the effort to this release line. This is called the Jenkins Long-Term Support release, or LTS.

Which Jenkins version is stable?

The Jenkins project produces two release lines: Stable (LTS) and regular (Weekly).


1 Answers

From https://wiki.jenkins-ci.org/display/JENKINS/LTS+Release+Line :

  1. Back up your Jenkins installation (for example the entire Jenkins directory)

  2. Download desired jenkins.war version, in this case LTS one

  3. Shut down Jenkins

  4. Copy new jenkins.war over the old one in you Jenkins directory

  5. Start Jenkins again

  6. Follow this quote from above wiki page:

    If you had a Latest&Greatest release running before and now have switched to LTS, you should open Manage Jenkins->Manage Plugins->Advanced and press "Check now". This way you ensure to get the proper update notifications for LTS and LTS-compatible plugins instead of Latest&Greatest. After you do this you may need to remove the contents of ${JENKINS_HOME}/updates to ensure that Jenkins shows the correct updates for the LTS stream.

like image 80
hyde Avatar answered Oct 20 '22 02:10

hyde