How to Upgrade the Jenkins version to latest
Jenkins Upgrade in Ubuntu:
- shutdown the jenkins ( goto —> Manage Jenkins —> Prepare for shutdown )
- Take a snapshot of the ubuntu (AWS) image
- Login to the Jenkins (Master) Server
- Run the below commands
$ service jenkins stop / service jenkins stop
$ apt-get update / yum update -y
$ apt-get install jenkins / service jenkins start
$ service jenkins start —
- Go into Jenkins server
- Jenkins > Manage Plugins >
- Select "All"
- Click "Download now and install after restart"
Notable Locations (Config, Logs)
- Config (config.xml): /var/lib/jenkins
- Logs: /var/log/jenkins
Was looking for this steps, good once
ReplyDelete