2
juju-log $JUJU_REMOTE_UNIT joined
5
JENKINS_HOST=$(relation-get hostname)
6
JENKINS_PORT=$(relation-get port)
7
JENKINS_URL="http://${JENKINS_HOST}:${JENKINS_PORT}"
8
juju-log $0 jenkins_url=${JENKINS_URL}
11
CONFIG=/etc/oil-ci/oil-ci.conf
12
juju-log $0 updating $CONFIG
14
-e "s,^jenkins_url/*=.*,jenkins_url = ${JENKINS_URL}," \
17
juju-log $0 exec'ing ./hooks/start