Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2020-02-12 14:18:08 +0000
committerSravan Kumar Lakkimsetti2020-02-12 14:18:08 +0000
commit71506ec7d579766e56ecbf41193ad068bbe21aea (patch)
treed32f14a52b4c841f465e86298f367a83bc1c2bf8
parenta1d65796c574a172341fa1c79de5d2b24dc4d847 (diff)
downloadeclipse.platform.releng.aggregator-71506ec7d579766e56ecbf41193ad068bbe21aea.tar.gz
eclipse.platform.releng.aggregator-71506ec7d579766e56ecbf41193ad068bbe21aea.tar.xz
eclipse.platform.releng.aggregator-71506ec7d579766e56ecbf41193ad068bbe21aea.zip
Bug 553757 - Migrate I-builds to new infra
Fixed typo in comparator error detection and updated path to fetch latest release Change-Id: I4b24b4c99a8b2d7e3afaa039e791d56efa0dc246 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
-rwxr-xr-xcje-production/mbscripts/mb300_gatherEclipseParts.sh8
-rwxr-xr-xcje-production/mbscripts/mb620_promoteUpdateSite.sh3
2 files changed, 6 insertions, 5 deletions
diff --git a/cje-production/mbscripts/mb300_gatherEclipseParts.sh b/cje-production/mbscripts/mb300_gatherEclipseParts.sh
index 45434a4a1..64f737723 100755
--- a/cje-production/mbscripts/mb300_gatherEclipseParts.sh
+++ b/cje-production/mbscripts/mb300_gatherEclipseParts.sh
@@ -249,12 +249,12 @@ comparatorLogMinimumSize=250
comparatorLog=$CJE_ROOT/$DROP_DIR/$BUILD_ID/buildlogs/comparatorlogs/buildtimeComparatorUnanticipated.log.txt
logSize=0
-if [[ -e ${comparatorLogPath} ]]
+if [[ -e ${comparatorLog} ]]
then
- logSize=$(stat -c '%s' ${comparatorLogPath} )
- echo -e "DEBUG: comparatorLog found at\n\t${comparatorLogPath}\n\tWith size of $logSize bytes"
+ logSize=$(stat -c '%s' ${comparatorLog} )
+ echo -e "DEBUG: comparatorLog found at\n\t${comparatorLog}\n\tWith size of $logSize bytes"
else
- echo -e "DEBUG: comparatorLog was surprisingly not found at:\n\t${comparatorLogPath}"
+ echo -e "DEBUG: comparatorLog was surprisingly not found at:\n\t${comparatorLog}"
fi
if [[ $logSize -gt ${comparatorLogMinimumSize} ]]
diff --git a/cje-production/mbscripts/mb620_promoteUpdateSite.sh b/cje-production/mbscripts/mb620_promoteUpdateSite.sh
index 10de8a90e..2616d1ff1 100755
--- a/cje-production/mbscripts/mb620_promoteUpdateSite.sh
+++ b/cje-production/mbscripts/mb620_promoteUpdateSite.sh
@@ -25,6 +25,7 @@ source $1
epUpdateDir=/home/data/httpd/download.eclipse.org/eclipse/updates
dropsPath=${epUpdateDir}/${STREAMMajor}.${STREAMMinor}-${BUILD_TYPE}-builds
+latestRelDir=/home/data/httpd/download.eclipse.org/eclipse/downloads/drops4
pushd $CJE_ROOT/$UPDATES_DIR
scp -r ${BUILD_ID} genie.releng@projects-storage.eclipse.org:${dropsPath}/.
popd
@@ -45,7 +46,7 @@ ssh genie.releng@projects-storage.eclipse.org mkdir -p ${workspace}
scp -r /opt/tools/java/oracle/jdk-8/latest genie.releng@projects-storage.eclipse.org:${workspace}/jdk8
#get latest Eclipse platform product
-epRelDir=$(ssh genie.releng@projects-storage.eclipse.org ls -d --format=single-column ${dropsPath}/R-*|sort|tail -1)
+epRelDir=$(ssh genie.releng@projects-storage.eclipse.org ls -d --format=single-column ${latestRelDir}/R-*|sort|tail -1)
ssh genie.releng@projects-storage.eclipse.org tar -C ${workspace} -xzf ${epRelDir}/eclipse-platform-*-linux-gtk-x86_64.tar.gz
#get requisite tools

Back to the top