Use Jenkins as an automated test execution platform to run automated cases. When many cases are required, or different types of systems (such as Linux and Windows) are required, multiple Jenkins nodes (or slave in master-slave) need to be built ).
I still like Linux. Generally, Jenkins's master is built on Linux, and some Linux or Windows slave is added to execute more tasks.
Because Jenkins is a Java program, you must first install the Java execution environment and configure the system environment variables in the added slave.
Adding Linux/Unix as slave is relatively simple. When adding a Node, select "Launch slave agents on Unix machines via SSH" and add the user name and password (root is not required) to the corresponding credentials.
You can select "Launch slave agents via Java Web Start" or "Let Jenkins control this Windows slave as a Windows service" to add Windows as slave. The latter may need some firewall policies; I generally choose the former "Launch slave agents via Java Web Start ".
Sometimes it is not so smooth, you may see the following prompt:
Follow the instructions on the Windows Server load balancer. However, if neither operation is successful, I directly click the "lanch" button in the figure to download a JNLP file, then start the agent with the javaws slave-agent.jnlp command.