Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated section on Upgrading

...

  • read the changelog for anything scary
  • Log in to the infrastructure machine as jenkins
  • we only need to keep a couple of old WAR files, so trim older ones once in a whilein the web application, Manage Jenkins Prepare for shutdown.  This will tell Jenkins to stop executing new jobs, so that it will become safe to shut it down once any running at present have completed.  You will start seeing a red banner saying "Jenkins is going to shut down" on every page.
  • move the old jenkins.war into jenkins.war.previous
  • pull the latest release using wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war
  • make a copy of the new file under its version number, e.g. jenkins.war.1.508
  • once the last job running has completed, from an appropriate user:
  • sudo /sbin/service tomcat-jenkins stop
  • sudo /sbin/service tomcat-jenkins startlog in to the infrastructure machine and run : sudo yum update jenkins

To stop or start Jenkins :

    • sudo systemctl stop jenkins
    • sudo systemctl start jenkins

Once this has restarted, check that things are basically functional before proceeding to update the plugins.

...