问题
I have setup a Jenkins master and I want to add a slave node in the same network. Do I need to install Jenkins on the slave machine? Or can I use any arbitrary machine without having to install Jenkins on it first?
回答1:
No, you don't need to install Jenkins in any slave machine at all.
You will need, if it is a Linux slave, just SSH access enabled. If it is a Windows machine, then Java and connect with the jar provided by Jenkins or through Java Web client.
On Linux and for Java, Jenkins will download anything he needs.
回答2:
No need to install jenkins on slave machine , you just ned to download slave.jar in your slave machine and you can connnect slave using TCP port for JNLP agents .
https://www.automation99.com/2017/09/how-to-setup-jenkins-slave-machine.html
来源:https://stackoverflow.com/questions/28573907/jenkins-slave-node-setup