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>
description: 'Tag to pull docker image'
- string:
name: CI_DEBUG
- default: 'false'
+ default: 'true'
description: "Show debug output information"
scm:
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}"