Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2012-01-12 16:07:21 +0000
committervlorenzo2012-01-12 16:07:21 +0000
commit3fcccc1c276b19b2441a2a4663bdd61e119e68cf (patch)
tree5725171afc05a2e4b8ec6e7a73352887d9444119 /releng/org.eclipse.mdt.papyrus.releng.buckminster
parent9c1aa853ca023196b50e429654624edc77fa2739 (diff)
downloadorg.eclipse.papyrus-3fcccc1c276b19b2441a2a4663bdd61e119e68cf.tar.gz
org.eclipse.papyrus-3fcccc1c276b19b2441a2a4663bdd61e119e68cf.tar.xz
org.eclipse.papyrus-3fcccc1c276b19b2441a2a4663bdd61e119e68cf.zip
NEW - Bug 365919: [Architecture - SVN - Build] Rewrite the Build
https://bugs.eclipse.org/bugs/show_bug.cgi?id=365919 publishing test results
Diffstat (limited to 'releng/org.eclipse.mdt.papyrus.releng.buckminster')
-rw-r--r--releng/org.eclipse.mdt.papyrus.releng.buckminster/serverConfig/cronPromote.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/releng/org.eclipse.mdt.papyrus.releng.buckminster/serverConfig/cronPromote.sh b/releng/org.eclipse.mdt.papyrus.releng.buckminster/serverConfig/cronPromote.sh
index 55f03763915..ad8c4c89405 100644
--- a/releng/org.eclipse.mdt.papyrus.releng.buckminster/serverConfig/cronPromote.sh
+++ b/releng/org.eclipse.mdt.papyrus.releng.buckminster/serverConfig/cronPromote.sh
@@ -113,7 +113,7 @@ if [ $signalDateTrunkNightlyTests -gt $lastPromoteDateTrunkNightlyTests ]; then
# mark the promote as done
touch "$LAST_PROMOTE_FILE_TRUNK_NIGHTLY_TESTS"
buildName=$(cat "$PROMOTE_SIGNAL_TRUNK_NIGHTLY_TESTS")
- zipName=${buildName}.zip
+ zipName=Papyrus-TestResults-${buildName}.zip
version=$(cat "$PROMOTE_VERSION_TRUNK_NIGHTLY_TESTS")
buildsDir="$DROPS_DIR/$version"
nfsURL="/shared/jobs/papyrus-trunk-nightly-tests/lastSuccessful/archive/"
@@ -123,13 +123,12 @@ if [ $signalDateTrunkNightlyTests -gt $lastPromoteDateTrunkNightlyTests ]; then
if [ ! -f "$zipName" ]; then echo "ERROR: $zipName (from Hudson) not found"; exit -2; fi
echo "[$DATE] Testing zip integrity"
unzip -t "$zipName"
- buildsDir="$dropsDir/$version"
+ buildsDir="$dropsDir/$version/$buildName"
echo "[$DATE] publishing build (version='$version') to the builds directory '$buildsDir'..."
unzip -o "$zipName" -d "$buildsDir"
echo "[$DATE] setting access rights"
- buildFolder="$buildsDir/$buildName"
- chmod -R 775 "$buildFolder"
- chgrp -hR modeling.mdt.papyrus "$buildFolder"
+ chmod -R 775 "$buildsDir"
+ chgrp -hR modeling.mdt.papyrus "$buildsDir"
echo "[$DATE] promote done"

Back to the top