CI: Deprecate Jenkins Sonar jobs
[ci-management.git] / jjb / shell / export-packages.sh
index 68957e9..12c6364 100755 (executable)
@@ -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"