I just got the plugin up and running using the docker-based PBS server, but had some issues on the way:
So I roughly ended up with these steps in order to get it working:
docker run -it -h pbs.local -p 10022:22 -p 9618:9618 --privileged agaveapi/torque bash
# the above command will start an interactive shell in the container.
yum install java-1.8.0-openjdk.x86_64 # in order to launch slave
/usr/bin/supervisord # starts pbs server, and sshd
# now create the slave in jenkins with SSH port 10022 and credentials root/root
I just got the plugin up and running using the docker-based PBS server, but had some issues on the way:
yum install java-1.8.0-openjdk.x86_64inside the container was easier.So I roughly ended up with these steps in order to get it working: