On Manage Jenkins I've a message that:
New version of Jenkins (2.47) is available for download (changelog).
Is there any way of upgrading Jenkins from the GUI similar as it's done for the plugins?
I'm using Jenkins ver. 2.43 on Linux.
DevOps Stack Exchange is a question and answer site for software engineers working on automated testing, continuous delivery, service integration and monitoring, and building SDLC infrastructure. It only takes a minute to sign up.Sign up to join this community
When you click the Upgrade Automatically button, Jenkins downloads and install the new war file itself.
Please, check Jenkins wiki for further details. There are some problems if you installed Jenkins from a Debian package.
If you run Jenkins with
java -jar jenkins.war, Jenkins will be able to update itself from the Manage Jenkins page. This is the simplest way to do automatic upgrades.
If you've installed via the OS X installer, the
jenkinsrunning the process does not own the
.warfile. To get auto-upgrade working, just fix the permissions so the
jenkinsuser can write the WAR (in
Using the Upgrade-Button from within Jenkins (available since 1.318) will not work if Jenkins was installed from a Debian package (results in permission denied errors when trying to download the new WAR file)!
If you install Jenkins as a Windows service, Jenkins will be able to update itself from the Manage Jenkins page.
You can overwrite the existing jenkins.war file with the new one and then restart Jenkins.
This file is usually located in /usr/share/jenkins.
If this is not the case for your system, in Manage Jenkins -> System Information, it will display the path to the .war file under executable-war.