X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fdocker-build.sh;h=8453dcd1ca79c07fb60efc8475c5bfe1aa1161c9;hb=0d623ea91ba7dab654e7c9026b10f25f6786ff43;hp=e77305869134b3cd55eebdfeec2f80a05255ff2d;hpb=602bfb1660f5a0a3b8cdae11d4637d60398bf5b3;p=releng%2Fglobal-jjb.git diff --git a/shell/docker-build.sh b/shell/docker-build.sh index e7730586..8453dcd1 100644 --- a/shell/docker-build.sh +++ b/shell/docker-build.sh @@ -17,5 +17,5 @@ cd "$DOCKER_ROOT" # DOCKER_IMAGE_TAG variable gets constructed after lf-docker-get-container-tag builder step # is executed. It constructs the image name and the appropriate tag in the same varaiable. docker_build_command="docker build ${DOCKER_ARGS:-} -t "$CONTAINER_PUSH_REGISTRY/$DOCKER_NAME:$DOCKER_IMAGE_TAG" ." -echo $docker_build_command -eval $docker_build_command | tee "$WORKSPACE/docker_build_log.txt" +echo "$docker_build_command" +eval "$docker_build_command" | tee "$WORKSPACE/docker_build_log.txt"