jenkins deployment
Deploying jenkins is not exhaustive, just Baidu
global configuration
- Set proxy; go to Global Security Configuration → Proxy
The agent chooses according to itself. It is recommended to use the designated port and enable the encryption protocol.
Add node machine
Click Node Management to create a new node
Create a new node, click the node name, enter a name, select a fixed node, and click OK
Node detailed settings
Configure node link
Click on the corresponding node machine
file mode
Click launch, download the slave-agent.jnlp file, and transfer the file to the corresponding node machine. After
running, it will be displayed, which means the link is successful, and the master control list will display the corresponding link status.command mode
Send the jnlp file to the node machine
Copy the command below the launch button to the node machine,
click cmd on the node machine to enter the command directory, and execute the following command
new task
In General, select the node that restricts the project to
run