[Tips] How to update/install jenkins with specified version



When install Jenkins, there are 2 methods:

  1. Install latest version with repository link,
  2. Install with locally file downloaded.

If you need install or update Jenkins with older specified version, you need use method 2.

Steps:

1. Download jenkins installation file (.war file):

Link download Jenkins war file

2a. Install Jenkins with war file:

Link steps install from Jenkins

2b. Update Jenkins with war file:

- Navigation to path for old jenkins.war,

(Typically on /usr/share/jenkins/, or check on Manager Jenkins > System Information > Excutable-war)

- Replace with new jenkins.war file,

- Restart Jenkins.

Ref: https://stackoverflow.com/questions/11062335/update-jenkins-from-a-war-file

Nhận xét