diff options
author | 2017-06-23 23:30:22 -0400 | |
---|---|---|
committer | 2017-06-23 23:30:22 -0400 | |
commit | cebfb874b5d9e759f9d97f8eee9d1d0a2dfab8ce (patch) | |
tree | 66ea4c4ab70b981fac02560e0008efd9e929b561 /jjb | |
parent | 486d1700853be9e93181d3f0aa7a1b472a78e0e3 (diff) |
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 <xudan16@huawei.com>
Diffstat (limited to 'jjb')
-rwxr-xr-x | jjb/dovetail/dovetail-run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |