Add script for connecting static jenkins slaves 72/472/2
authorCristina Pauna <cristina.pauna@enea.com>
Thu, 14 Mar 2019 18:29:37 +0000 (20:29 +0200)
committerCristina Pauna <cristina.pauna@enea.com>
Thu, 14 Mar 2019 18:35:43 +0000 (20:35 +0200)
commitdd9356a5746ea8e4b0ad15591581c0d86c4e9eb4
tree3e3bbe5856fe6ebde87b82b338fd5330d84f84db
parent42e3852c5488ecaf58bd885598d2c754049d0e3b
Add script for connecting static jenkins slaves

Script from [1] adapted for akraino, both for production and for
sandbox. It configures monit and connects the slave to the LF master

Usage for production:
sudo akraino/repos/ci-management/utils/jenkins-jnlp-connect.sh \
-j /home/jenkins -u jenkins -n <slave_name> -s <secret>

Usage for sandbox:
sudo akraino/repos/ci-management/utils/jenkins-jnlp-connect.sh \
-j /home/jenkins -u jenkins -n <slave_name> -s <secret> -b

[1] https://github.com/opnfv/releng/blob/master/utils/jenkins-jnlp-connect.sh

Change-Id: I7289a06a13deb3626a4c37147d6fb8b5fdd0e5ff
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
utils/jenkins-jnlp-connect.sh [new file with mode: 0755]