Table Of Contents


If you are having trouble getting the Java Web Start agent installed as a Windows service (ie, you followed the instructions on installing the slave as a service here but it didn't work), an alternative method of starting the service automatically when Windows starts is to use the Windows Scheduler. 

We take advantage of the Windows Scheduler's ability to run command at system startup

  1. Configure your node to use the "Launch slave agents via Java Web Start" launch method
  2. Note the command required to launch the slave
  3. Obtain the slave.jar file and copy it to your new Windows slave node
  4. Ensure that you have a java version available on your slave machine
  5. Run the command manually from a CMD window on your slave to confirm that it works
  6. Register a new scheduled job to run the same command
  7. Start the scheduled task and again check that Jenkins can connect