From: Thanh Ha Date: Thu, 8 Aug 2019 00:37:45 +0000 (-0400) Subject: Resolve shellcheck for openci scripts X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=41777bc81a33aaef19d40a591649781fc33bbb12;p=releng%2Fbuilder.git Resolve shellcheck for openci scripts Change-Id: I3f6142844779061cb1e134fb77645a2e743cd739 Signed-off-by: Thanh Ha --- diff --git a/jjb/openci/create-ape.sh b/jjb/openci/create-ape.sh index 5bd3a0676..eb3c3437b 100755 --- a/jjb/openci/create-ape.sh +++ b/jjb/openci/create-ape.sh @@ -20,6 +20,7 @@ git clone https://gitlab.openci.io/openci/prototypes.git cd prototypes/federated-cicd virtualenv openci_publish cd openci_publish +# shellcheck disable=SC1091 source bin/activate python setup.py install @@ -42,6 +43,6 @@ echo "--------------------------------------------" cat ./json_body.txt echo "--------------------------------------------" -python openci_publish -H 129.192.69.55 -U ${ACTIVEMQ_USER} -p ${ACTIVEMQ_PASSWORD} -n openci.prototype -B ./json_body.txt +python openci_publish -H 129.192.69.55 -U "${ACTIVEMQ_USER}" -p "${ACTIVEMQ_PASSWORD}" -n openci.prototype -B ./json_body.txt deactivate