Downgrade Jenkins
I easily rolled back to the last working version bydoing below steps:
- Go to the location where jenkins is installed.
- Rename
jenkins.war
if it exists tojenkins.war.corrupted
- You would find a file
jenkins.war.bak
in same direcotry. Rename it to 'jenkins.war'
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.
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
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:
- Locate an earlier stable version at https://updates.jenkins-ci.org/
- Download the war file
- Stop the Jenkins service
- Replace the
jenkins.war
with the new. - 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.