X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fric-plt-lib-rmr%2Fshell%2Fcopy-rmr-packages.sh;fp=jjb%2Fric-plt-lib-rmr%2Fshell%2Fcopy-rmr-packages.sh;h=e15a1e296c77201e5be46bb5a9de20267bfda627;hb=c1f5d877924423fedcd4b2364965fc415592c40c;hp=1fa1e04c8c7fe0bcede6b078c1c95b6a08732ed1;hpb=8a4f190afa328ea560c1e391362b6f2f974e0019;p=ci-management.git 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")