Reputation: 1418
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?
Upvotes: 10
Views: 36266
Reputation: 1149
I easily rolled back to the last working version by doing below steps:
jenkins.war
if it exists to jenkins.war.corrupted
jenkins.war.bak
in same directory. Rename it to 'jenkins.war'Upvotes: 8
Reputation: 154
In my case, I followed the process below -
Download the jenkins.war file from https://updates.jenkins-ci.org
Stop the Jenkins service
Replace the jenkins.war with the new.
Restart the service.
Done
Upvotes: 3
Reputation: 16930
If you have upgraded from front end (i.e. Manage Jenkins > Upgrade Jenkins
) Then you will get an option to Downgrade also from there (under Manage Jenkins -- restore to previous version)
Upvotes: 1
Reputation: 306
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:
jenkins.war
with the new.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.
Upvotes: 9
Reputation: 13327
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.
Upvotes: 6