diff options
author | Markos Chandras <mchandras@suse.de> | 2016-11-24 14:42:13 +0000 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2016-11-29 12:04:10 +0000 |
commit | bbb4a9461e9ee5bf8f2e6ef52627565319cb0c96 (patch) | |
tree | 7cb91326ecded64471caa5730c820af827b6c104 /modules/tests/unit/utils | |
parent | 90dbe41e705c6247f0171380f49873ac40a54eb1 (diff) |
utils: jenkins-jnlp-connect.sh: Make monit actions conditional
When executing the connection testing command as indicated in [1], -t is
added to the monit start-up script parameters. This prevents the jenkins
service from running in the background and create the pid file. Because
of that, monit is confused and reports the service as failed. We fix
this by moving all the monit related actions inside the 'monit'
conditional block.
[1]: http://artifacts.opnfv.org/octopus/brahmaputra/docs/octopus_docs/opnfv-jenkins-slave-connection.html#connecting-slaves-from-community-labs-to-opnfv-jenkins
Change-Id: I7371c4560311b84f56eff3461254264e1769ff7e
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'modules/tests/unit/utils')
0 files changed, 0 insertions, 0 deletions