Autorelease is running out of space and part of the reason is that we're
duplicating artifacts while copying them around to produce the staging
repo. This is an attempt to save some space by removing some of our
duplication.
Change-Id: I71c02437bf027be765d41c90a4e161c79e97e719
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
NEXUS_STAGING_PROFILE=${ODLNEXUS_STAGING_PROFILE:-425e43800fea70}
NEXUS_STAGING_SERVER_ID=${ODLNEXUS_STAGING_SERVER_ID:-"opendaylight.staging"}
NEXUS_STAGING_PROFILE=${ODLNEXUS_STAGING_PROFILE:-425e43800fea70}
NEXUS_STAGING_SERVER_ID=${ODLNEXUS_STAGING_SERVER_ID:-"opendaylight.staging"}
-rsync -avz --exclude 'maven-metadata*' \
+rsync -avz --remove-source-files \
+ --exclude 'maven-metadata*' \
--exclude '_remote.repositories' \
--exclude 'resolver-status.properties' \
"stage/org/opendaylight" m2repo/org/
--exclude '_remote.repositories' \
--exclude 'resolver-status.properties' \
"stage/org/opendaylight" m2repo/org/