Downgrade Jenkins

devopsfun picture devopsfun · Jun 22, 2015 · Viewed 20.7k times · Source

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?

Answer

BrotherBear picture BrotherBear · Jul 27, 2015

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.