Java Web Start agent a service

Issue

  • Want to set-up a Windows agent as a service using Java Web Start

Environment

  • CloudBees Jenkins Enterprise

Resolution

You just need to follow:

https://wiki.jenkins-ci.org/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machines

However, for MAC or Linux agents, the recommend way is to use ssh agents, since with Java Web Start you will always need to update agent.jar every time Jenkins is updated.

For Windows agents, you can also use Cygwin+OpenSSH instead of Java Web Start. In this way, you will not need to update agent.jar on a Jenkins upgrade.

Have more questions?

0 Comments

Please sign in to leave a comment.