
How it works
Methods to set up Slave agents
- Launch Slave agents on Unix machines via SSH.
- Launch Slave agents via JNLP.
- Launch Slave agents via execution of command on the master.
- Let Hudson control windows slave as a windows service.
The following screenshot illustrates the list of modes under which the Hudson slave can be launched.
Set up Slave agents on Unix machines via SSH
Depending on the project and hardware resource availability, the user Desktop can be used as one of Slave, without affecting his day-to-day activities, thus avoiding the need for dedicated Slaves.
Establish slave agent via Java Web Start
Set up slave agent headlessly
java -jar slave.jar -jnlpUrl http://yourserver:port/computer/slave-name/slave-agent.jnlp
The slave.jar file is downloaded from the above mentioned URL. Make sure to replace slave-name with the name of the slave setup in Master.
By default, Hudson runs on port 8080. It can be installed and managed without the need for super user privilege. The super user privilege is not required to manage both Master and Slave.
The below diagram illustrates the list of configuration parameters specific to a slave.
set up Slave Agent using own scripts
- Use of runtime variables to save into another variable using register in Ansible - September 6, 2018
- Ansible & Ansible Tower Variable Precedence Hierarchy - September 6, 2018
- How to use template in Ansible? - September 6, 2018