diff options
author | xudan <xudan16@huawei.com> | 2017-09-28 22:53:59 -0400 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2017-09-28 22:53:59 -0400 |
commit | 1227194755c45dc9532d6566ad1ee9af757fbce7 (patch) | |
tree | facbdd9d8b25971885ddc04c880cf08d90276488 /jjb | |
parent | c9728da80667f04433b52d3329c85dd178dd8c61 (diff) |
Add env params to Dovetail Container for BGPVPN test cases
Change-Id: I6afe338998a1550b8dd7533f29cb76c4f0d79352
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'jjb')
-rwxr-xr-x | jjb/dovetail/dovetail-run.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jjb/dovetail/dovetail-run.sh b/jjb/dovetail/dovetail-run.sh index 1b09cca08..2cbb94766 100755 --- a/jjb/dovetail/dovetail-run.sh +++ b/jjb/dovetail/dovetail-run.sh @@ -152,8 +152,10 @@ dovetail_home_volume="-v ${DOVETAIL_HOME}:${DOVETAIL_HOME}" echo "Dovetail: Pulling image opnfv/dovetail:${DOCKER_TAG}" docker pull opnfv/dovetail:$DOCKER_TAG >$redirect +env4bgpvpn="-e INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP}" + cmd="docker run ${opts} -e DOVETAIL_HOME=${DOVETAIL_HOME} ${docker_volume} ${dovetail_home_volume} \ - ${sshkey} opnfv/dovetail:${DOCKER_TAG} /bin/bash" + ${sshkey} ${env4bgpvpn} opnfv/dovetail:${DOCKER_TAG} /bin/bash" echo "Dovetail: running docker run command: ${cmd}" ${cmd} >${redirect} sleep 5 |