From: MatthewLi Date: Fri, 23 Sep 2016 06:38:57 +0000 (-0400) Subject: dovetail fix: set the parameter CI_DEBUG true to print logs X-Git-Tag: danube.1.0~790 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=5543d505ba3fa42927df5816ee42cefe8212934b;p=releng.git 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 --- diff --git a/jjb/dovetail/dovetail-ci-jobs.yml b/jjb/dovetail/dovetail-ci-jobs.yml index 015c416fc..91362ef3a 100644 --- a/jjb/dovetail/dovetail-ci-jobs.yml +++ b/jjb/dovetail/dovetail-ci-jobs.yml @@ -134,7 +134,7 @@ description: 'Tag to pull docker image' - string: name: CI_DEBUG - default: 'false' + default: 'true' description: "Show debug output information" scm: 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}"