0

I am hosting Jenkins with one master and two slaves.

Started jenkins as java process

nohup java -jar jenkins.war -Dhudson.model.ParametersAction.keepUndefinedParameters=true --httpPort=8091 > jenkins.log 2>&1 &

Now , I am trying to upgrade jenkins from UI.

Is it possible to upgrade jenkins automatically from UI.

Patan
  • 17,073
  • 36
  • 124
  • 198

1 Answers1

4

Yes. Click Manage Jenkins and, if there's an update available, you will see an upgrade notification at the top, and an Update automatically button.

Once the updated WAR file has been downloaded, there should be a Restart button on that page next time you visit.

Christopher Orr
  • 110,418
  • 27
  • 198
  • 193
  • Thank you. The upgraded war will it also replaces older one? – Patan Feb 16 '17 at 10:42
  • 1
    Yes, it replaces the existing WAR. Though Jenkins remembers the previous version number, and gives the possibility to downgrade to that version again (by automatically downloading the old WAR). – Christopher Orr Feb 16 '17 at 10:44
  • 6
    I am seeing New version of Jenkins (2.220) is available, but no Update automatically button – Ashish Karpe Feb 19 '20 at 10:27
  • 1
    @AshishKarpe, Refer to this answer to see the button https://stackoverflow.com/a/36503130/5777388 – Vicky Ajmera Nov 03 '22 at 07:21