Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2020-06-15 07:25:40 +0000
committerSravan Kumar Lakkimsetti2020-06-15 07:25:40 +0000
commit46ae0b4e3dbc6b3ba35819435065e03904248f3a (patch)
tree0356103fc844e302dd2eebb4ef34c0095bfd257f /cje-production
parente77afb53ffd5c913d98853a40fc8a0c6474c50c1 (diff)
downloadeclipse.platform.releng.aggregator-46ae0b4e3dbc6b3ba35819435065e03904248f3a.tar.gz
eclipse.platform.releng.aggregator-46ae0b4e3dbc6b3ba35819435065e03904248f3a.tar.xz
eclipse.platform.releng.aggregator-46ae0b4e3dbc6b3ba35819435065e03904248f3a.zip
Adding code to remove buildHidden from archive locations
Change-Id: I311afd9e2ea2a6d49edb5f8a9218b1a85bd1a47b Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'cje-production')
-rw-r--r--cje-production/promotion/makeVisible.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/cje-production/promotion/makeVisible.sh b/cje-production/promotion/makeVisible.sh
index 7f226bd13..99cd8a38d 100644
--- a/cje-production/promotion/makeVisible.sh
+++ b/cje-production/promotion/makeVisible.sh
@@ -109,16 +109,26 @@ export DL_DROP_ID=${DL_TYPE}-${DL_LABEL}-${BUILD_TIMESTAMP}
# Build machine locations (would very seldom change)
export BUILD_ROOT=${BUILD_ROOT:-/home/data/httpd/download.eclipse.org}
+export ARCHIVE_ROOT=${BUILD_ROOT:-/home/data/httpd/archive.eclipse.org}
export BUILDMACHINE_BASE_DL=${BUILD_ROOT}/eclipse/downloads/drops4
export BUILDMACHINE_BASE_EQ=${BUILD_ROOT}/equinox/drops
+export ARCHIVE_BASE_DL=${ARCHIVE_ROOT}/eclipse/downloads/drops4
+export ARCHIVE_BASE_EQ=${ARCHIVE_ROOT}/equinox/drops
+
# Eclipse Drop Site (final segment)
export ECLIPSE_DL_DROP_DIR_SEGMENT=${DL_TYPE}-${DL_LABEL}-${BUILD_TIMESTAMP}
${SSH_PREFIX} rm ${BUILDMACHINE_BASE_DL}/${ECLIPSE_DL_DROP_DIR_SEGMENT}/buildHidden
${SSH_PREFIX} rm ${BUILDMACHINE_BASE_EQ}/${ECLIPSE_DL_DROP_DIR_SEGMENT}/buildHidden
+if [[ "${DL_TYPE}" == "R" ]]
+then
+ ${SSH_PREFIX} rm ${ARCHIVE_BASE_DL}/${ECLIPSE_DL_DROP_DIR_SEGMENT}/buildHidden
+ ${SSH_PREFIX} rm ${ARCHIVE_BASE_EQ}/${ECLIPSE_DL_DROP_DIR_SEGMENT}/buildHidden
+fi
+
#Add to composite
buildId=${ECLIPSE_DL_DROP_DIR_SEGMENT}
case ${DL_TYPE} in

Back to the top