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.