Jenkins is automatically deployed on multiple servers and released to multiple servers.

Source: Internet
Author: User

Jenkins is automatically deployed on multiple servers and released to multiple servers.

Objective: To automatically upload and deploy code from multiple servers

You can use FTP without commands. You can drag files without writing letters. You can use tools to upload, package, and compile code. You do not need to manually package and compile the code. It can be automated, no original tools are required.

The wind is coming. Stay Fox

Environment CENTOS 6.6

Lanmps environment package (www.lanmps.com) php5.2.x mysql10.0.x nginx1.7.x

Jenkins

2 linux

1. Create and configure nodes 2 jenkins System Management node new node names are Release-Linux-1 and Release-Linux-2
Configure node-related parameters 2. Create a task jenkins

Node name: Www.lanmps.com

SelectBuild a multi-configuration project

OK, next step





OK. You can build and deploy it. The code is updated on both servers.

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.