From 5543d505ba3fa42927df5816ee42cefe8212934b Mon Sep 17 00:00:00 2001 From: MatthewLi Date: Fri, 23 Sep 2016 02:38:57 -0400 Subject: [PATCH] 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 --- jjb/dovetail/dovetail-ci-jobs.yml | 2 +- jjb/dovetail/dovetail-run.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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}" -- 2.16.6