1 2 3 4 5
#!/bin/bash # slave.jar has to be downloaded from http://localhost/jnlpJars/slave.jar exec java -jar /var/lib/jenkins/slave.jar