utils: jenkins-jnlp-connect.sh: Fix start up script 57/24857/1
authorMarkos Chandras <mchandras@suse.de>
Thu, 24 Nov 2016 13:32:57 +0000 (13:32 +0000)
committerMarkos Chandras <mchandras@suse.de>
Thu, 24 Nov 2016 14:56:50 +0000 (14:56 +0000)
commit90dbe41e705c6247f0171380f49873ac40a54eb1
tree30fcdf4a56ce2e5841b1904791d3b5791eaa8373
parentf2e09a1c47a8333efb7309089017f677db197f6e
utils: jenkins-jnlp-connect.sh: Fix start up script

The jenkins-jnlp-connect.sh script is meant to be executed from the
$jenkinshome directory. The monit script was configured to enter a
different directory before starting the jenkins script which always
resulted in a broken start-up phase like this:

"This script needs to be run from the jenkins users home dir"

We fix this by entering the $jenkinshome directory before starting up
the jenkins script.

Change-Id: If0f65417f07a7fa9328f9adcd1ca1a1a3bc530ed
Signed-off-by: Markos Chandras <mchandras@suse.de>
utils/jenkins-jnlp-connect.sh