Jenkins deploys mac OS and win node machines

jenkins deployment

Deploying jenkins is not exhaustive, just Baidu

global configuration

  1. 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.
insert image description here

Add node machine

Click Node Management to create a new node

insert image description here
Create a new node, click the node name, enter a name, select a fixed node, and click OK
insert image description here

Node detailed settings

insert image description here
Configure node link
insert image description here
Click on the corresponding node machine

insert image description here

file mode

Click launch, download the slave-agent.jnlp file, and transfer the file to the corresponding node machine. After insert image description here
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
insert image description here

new task

In General, select the node that restricts the project to
runinsert image description here

insert image description here

Guess you like

Origin blog.csdn.net/qq_34004131/article/details/127276171