From cebfb874b5d9e759f9d97f8eee9d1d0a2dfab8ce Mon Sep 17 00:00:00 2001 From: xudan Date: Fri, 23 Jun 2017 23:30:22 -0400 Subject: Bugfix: Dovetail CI failed on fuel because of BRANCH: unbound variable JIRA: DOVETAIL-451 1. Dovetail CI jobs failed on fuel becase lack of BRANCH. fetch_os_creds.sh: line 75: BRANCH: unbound variable 2. That's mainly because of Dovetail uses sudo to run fetch_os_creds.sh. 3. BRANCH is jenkins' env param and root's env lacks of this param. Change-Id: I3163d6e9f099e979bace00ce993b422ad60f6b8f Signed-off-by: xudan --- jjb/dovetail/dovetail-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jjb/dovetail/dovetail-run.sh b/jjb/dovetail/dovetail-run.sh index dce7e5862..6bfb109ad 100755 --- a/jjb/dovetail/dovetail-run.sh +++ b/jjb/dovetail/dovetail-run.sh @@ -47,7 +47,7 @@ releng_repo=${WORKSPACE}/releng git clone https://gerrit.opnfv.org/gerrit/releng ${releng_repo} >/dev/null if [[ ${INSTALLER_TYPE} != 'joid' ]]; then - sudo /bin/bash ${releng_repo}/utils/fetch_os_creds.sh -d ${OPENRC} -i ${INSTALLER_TYPE} -a ${INSTALLER_IP} >${redirect} + ${releng_repo}/utils/fetch_os_creds.sh -d ${OPENRC} -i ${INSTALLER_TYPE} -a ${INSTALLER_IP} >${redirect} fi if [[ -f $OPENRC ]]; then -- cgit 1.2.3-korg