Jenkins 2.4 Create child nodes

On the Dashboard > System Management > Node List page, select the New Node button to create a new node windows_10, select a fixed node for the node type , and click Create to create:

insert image description here

Set the remote working directory as the execution working directory on the child node computer, for example, create a jenkins_nodedirectory ( D:\jenkins_node) on the D drive and fill in this address, and then choose to start the agent through Java Web in the startup method (because it is more convenient):

insert image description here

After saving, return to the previous page, copy the installation and execution commands of the corresponding system:

insert image description here

D:\jenkins_nodeOpen the PowerShell window under , paste and execute the command copied above to start the child node.

If an error message appears, has been compiled by a more recent version of the Java Runtime (class file version 55.0)you need to upgrade the version of Java to 11 or higher

Guess you like

Origin blog.csdn.net/hekaiyou/article/details/131432623