From c1f5d877924423fedcd4b2364965fc415592c40c Mon Sep 17 00:00:00 2001 From: "Lott, Christopher (cl778h)" Date: Wed, 12 Jun 2019 13:17:21 -0400 Subject: [PATCH] Add registry to complete the docker image name Revise the extract-deb script to use the fully qualified docker image name, which includes the container push registry Signed-off-by: Lott, Christopher (cl778h) Change-Id: Ia42d9cb86ad25b3677963a551cd69073dad1b05e --- jjb/ric-plt-lib-rmr/shell/copy-rmr-packages.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jjb/ric-plt-lib-rmr/shell/copy-rmr-packages.sh b/jjb/ric-plt-lib-rmr/shell/copy-rmr-packages.sh index 1fa1e04c..e15a1e29 100755 --- a/jjb/ric-plt-lib-rmr/shell/copy-rmr-packages.sh +++ b/jjb/ric-plt-lib-rmr/shell/copy-rmr-packages.sh @@ -25,9 +25,9 @@ echo "--> copy-rmr-packages.sh" # with path(s) to the generated artifact(s) file="/tmp/rmr_deb_path" -# Create a container from the build image by running a trivial command. -# DOCKER_NAME and DOCKER_IMAGE_TAG are injected by previous steps -container=$(docker run -d "$DOCKER_NAME":"$DOCKER_IMAGE_TAG" ls "$file") +# create a container from the image by running a trivial command +# environment variables are injected in previous Jenkins steps +container=$(docker run -d "$CONTAINER_PUSH_REGISTRY"/"$DOCKER_NAME":"$DOCKER_IMAGE_TAG" ls "$file") docker logs "$container" docker cp "$container:$file" . filebase=$(basename "$file") -- 2.16.6