Jenkins multi-server automatic deployment, publishing to multiple servers

Source: Internet
Author: User

Purpose: Multiple server code automatic upload deployment

Can use FTP absolutely no command, can drag files, absolutely not handwritten letters, can be used to implement code upload package compiled, absolutely no manual packaging compiled, can be automated, absolutely no original tools.

Here comes the wind.

Environment CENTOS 6.6

Lanmps Environment Kit (www.lanmps.com) php5.2.x mysql10.0.x nginx1.7.x

Jenkins

2 sets of Linux

1. Set up and configure nodes 2 Jenkins "Management node" new node names are release-linux-1 and release-linux-2, respectively
Configuring node-related Parameters 2. Task Creation Jenkins "new

node name : www.lanmps.com

Choose to build a multi-configuration project

OK, next





OK, you can build the deployment. 2 Servers update code at the same time

Jenkins multi-server automatic deployment, publishing to multiple 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.