• Upgrading Jenkins involves downloading and deploying the new WAR file.
  • To check for new Jenkins versions, monitor the console for update notifications. Click the link provided to download the updated WAR file.
  • We’ve explored various methods to install Jenkins. Currently, we’re running Jenkins as a standalone service on Ubuntu. Locate the WAR file at /usr/share/jenkins/. If unsure, use a command like find / -name jenkins.war to search for it.
  • It’s advisable to back up the old WAR file before replacing it. Use a command like sudo cp -p /usr/share/jenkins/jenkins.war /usr/share/jenkins/jenkins.war.old for this purpose.
  • Replace the old WAR file with the downloaded one: mv ~/downloads/jenkins.war /usr/share/jenkins/
  • Restart Jenkins with sudo systemctl restart jenkins. Upon login, observe the updated version number displayed at the bottom left corner of the screen.
Ali Imran
Over the past 20+ years, I have been working as a software engineer, architect, and programmer, creating, designing, and programming various applications. My main focus has always been to achieve business goals and transform business ideas into digital reality. I have successfully solved numerous business problems and increased productivity for small businesses as well as enterprise corporations through the solutions that I created. My strong technical background and ability to work effectively in team environments make me a valuable asset to any organization.

Leave a Reply