diff options
author | 2016-09-23 02:38:57 -0400 | |
---|---|---|
committer | 2016-09-23 02:42:10 -0400 | |
commit | 5543d505ba3fa42927df5816ee42cefe8212934b (patch) | |
tree | febfba2806476c7d4c53b1b59ed4e9962a7bf496 /jjb/dovetail/dovetail-run.sh | |
parent | ffb46f565212179212c1b23484e050078d6d82ad (diff) |
dovetail fix: set the parameter CI_DEBUG true to print logs
JIRA: DOVETAIL-14
CI_DEBUG is used in dovetail tool to decide if print logs or not,
to set the CI_DEBUG true to print logs in jenkins, which makes it easy
to debug.
Change-Id: I487c9f53034212ca02a189362522889f09fe1ecd
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'jjb/dovetail/dovetail-run.sh')
-rwxr-xr-x | jjb/dovetail/dovetail-run.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jjb/dovetail/dovetail-run.sh b/jjb/dovetail/dovetail-run.sh index c0176506f..2c85e4602 100755 --- a/jjb/dovetail/dovetail-run.sh +++ b/jjb/dovetail/dovetail-run.sh @@ -33,7 +33,8 @@ if ! sudo iptables -C FORWARD -j RETURN 2> ${redirect} || ! sudo iptables -L FOR fi opts="--privileged=true --rm" -envs="-v /var/run/docker.sock:/var/run/docker.sock" +envs="-e CI_DEBUG=${CI_DEBUG} \ + -v /var/run/docker.sock:/var/run/docker.sock" # Pull the image with correct tag echo "Dovetail: Pulling image opnfv/dovetail:${DOCKER_TAG}" |