Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Downgrade Jenkins

I updated Jenkins a few days ago. But in the current Jenkins version, there are some annoying bugs. Is it possible to downgrade the version of Jenkins and if this is possible, how is it possible to do it?

like image 532
devopsfun Avatar asked Jun 22 '15 09:06

devopsfun


2 Answers

I have been struggling with downgrading Jenkins as well, lately because the latest version seems to have a problem handling JDK 5 code (which I am unfortunately tied to for a little while longer)

Here's how I did my downgrade:

  1. Locate an earlier stable version at https://updates.jenkins-ci.org/
  2. Download the war file
  3. Stop the Jenkins service
  4. Replace the jenkins.war with the new.
  5. Restart the service.

I had an additional issue with the configuration file not being compatible. E.g. In my case I had to disable matrix to get the service running. Your case may be different, so I suggest another question.

like image 93
BrotherBear Avatar answered Sep 18 '22 17:09

BrotherBear


Downgrading should be equivalent to the upgrading process:

To upgrade from earlier versions of Jenkins, simply redeploy the WAR file. Read this document for more about container-specific instructions on how to do this. See this document for automation.

like image 41
splash Avatar answered Sep 19 '22 17:09

splash