From: Lott, Christopher (cl778h) Date: Wed, 12 Jun 2019 17:17:21 +0000 (-0400) Subject: Add registry to complete the docker image name X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=c1f5d877924423fedcd4b2364965fc415592c40c;p=ci-management.git 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 --- 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")