Jenkins advanced series-17jenkins upgrade, migration, and backup

Source: Internet
Author: User
Upgrade Jenkins

Jenkins has a fast development iteration. A development version is released every week. The long-term support version is updated every six months (PS: Major version update ). How can I upgrade a database with such frequent updates?

War: download the new war file and replace the old war file. Restart.

Binary: uninstall the old version. Install the new version.

Jenkins program: http://mirrors.jenkins-ci.org/

Note: Before the upgrade, test the compatibility between the version and your local data. How to test: Copy jenkins_home to a new machine and start it with a new program. Test the corresponding plug-ins and configurations.

Migration and backup

First, find jenkins_home (see the Jenkins getting started series-00 Q & A), because all Jenkins data is stored in the jenkins_home directory as files. Therefore, you only need to operate jenkins_home for migration and backup.

Migration: We recommend that you package jenkins_home and copy it. For Windows, you can use zip, rar, and others. For Linux, there are zip and tar files. Then, extract the packaged file to the new jenkins_home directory.

Backup: refer to the Jenkins advanced series-08jenkins for version control. For temporary backup, the entire compressed file is enough.

 

What do you want to do now?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.