X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fshell%2Fexport-packages.sh;h=12c6364a4f10062bd7e6cb40fad8654b3d64a09c;hb=019ca8a40cd54b691e684d96cc8e0ef448fe5324;hp=68957e9ab5abf7e781cc61e454bfb448109da408;hpb=1fbe5cad5f5b3ca28ab0c97d103b6f5f469a1a4b;p=ci-management.git diff --git a/jjb/shell/export-packages.sh b/jjb/shell/export-packages.sh index 68957e9a..12c6364a 100755 --- a/jjb/shell/export-packages.sh +++ b/jjb/shell/export-packages.sh @@ -22,8 +22,11 @@ echo "--> export-packages.sh" # Launches the docker image, which has an entrypoint script # that copies artifacts created by the builder to a directory. # Environment variables are injected in previous Jenkins steps. -HOST=/tmp/export +# The push script searches the workspace, so do not use /tmp etc. +HOST=$WORKSPACE/export-packages GUEST=/export mkdir -p "$HOST" docker run -v "$HOST":"$GUEST" "$CONTAINER_PUSH_REGISTRY"/"$DOCKER_NAME":"$DOCKER_IMAGE_TAG" "$GUEST" ls "$HOST" + +echo "--> export-packages.sh ends"