Bugfix: Dovetail CI failed on fuel because of BRANCH: unbound variable 35/36435/1
authorxudan <xudan16@huawei.com>
Sat, 24 Jun 2017 03:30:22 +0000 (23:30 -0400)
committerxudan <xudan16@huawei.com>
Sat, 24 Jun 2017 03:30:22 +0000 (23:30 -0400)
commitcebfb874b5d9e759f9d97f8eee9d1d0a2dfab8ce
tree66ea4c4ab70b981fac02560e0008efd9e929b561
parent486d1700853be9e93181d3f0aa7a1b472a78e0e3
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>
jjb/dovetail/dovetail-run.sh