Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2012-01-13 14:44:55 +0000
committervlorenzo2012-01-13 14:44:55 +0000
commit691183754451221172bf1475ac81968b5cefef9d (patch)
treebe749a1567449465ea525c2572560036d772854d /releng/org.eclipse.mdt.papyrus.releng.buckminster/papyrus-trunk-extra-nightly/build-after.sh
parentd1417a28c6b3e354860f0c93e7ade7d8b5f8e8cf (diff)
downloadorg.eclipse.papyrus-691183754451221172bf1475ac81968b5cefef9d.tar.gz
org.eclipse.papyrus-691183754451221172bf1475ac81968b5cefef9d.tar.xz
org.eclipse.papyrus-691183754451221172bf1475ac81968b5cefef9d.zip
NEW - Bug 365919: [Architecture - SVN - Build] Rewrite the Build
https://bugs.eclipse.org/bugs/show_bug.cgi?id=365919 extra build publishing
Diffstat (limited to 'releng/org.eclipse.mdt.papyrus.releng.buckminster/papyrus-trunk-extra-nightly/build-after.sh')
-rw-r--r--releng/org.eclipse.mdt.papyrus.releng.buckminster/papyrus-trunk-extra-nightly/build-after.sh16
1 files changed, 6 insertions, 10 deletions
diff --git a/releng/org.eclipse.mdt.papyrus.releng.buckminster/papyrus-trunk-extra-nightly/build-after.sh b/releng/org.eclipse.mdt.papyrus.releng.buckminster/papyrus-trunk-extra-nightly/build-after.sh
index 9c8eea87943..9b6f9b73648 100644
--- a/releng/org.eclipse.mdt.papyrus.releng.buckminster/papyrus-trunk-extra-nightly/build-after.sh
+++ b/releng/org.eclipse.mdt.papyrus.releng.buckminster/papyrus-trunk-extra-nightly/build-after.sh
@@ -7,27 +7,23 @@ promoteDirName=/opt/public/modeling/mdt/papyrus/papyrus-trunk-extra-nightly/prom
# note: the version and build id used by the cronPromote.sh are taken from papyrus-trunk-nightly
FULL_BUILD_ID=$(cat $promoteDirName)
-
-if [ -n "$BUILD_ALIAS" ]; then
- zipName=Papyrus-Extra-${BUILD_ALIAS}.zip
-else
- zipName=Papyrus-Extra-${FULL_BUILD_ID}.zip
-fi
+updateZipName=Papyrus-Extra-Update.zip
+zipName=Papyrus-Extra.zip
rm -rf tmp
mkdir -p "tmp/$FULL_BUILD_ID"
# create the update site zip
-(cd $p2UpdateSiteDir && zip -r $zipName *)
-mv $p2UpdateSiteDir/$zipName "tmp/$FULL_BUILD_ID"
+(cd $p2UpdateSiteDir && zip -r $updateZipName *)
+mv $p2UpdateSiteDir/$updateZipName "tmp/$FULL_BUILD_ID"
mv revision.txt "tmp/$FULL_BUILD_ID"
# copy the build log into the result
wget --quiet --no-check-certificate ${HUDSON_URL}/job/${JOB_NAME}/${BUILD_NUMBER}/consoleText -O "${WORKSPACE}/tmp/$FULL_BUILD_ID/buildlog.txt"
-(cd tmp && zip -r ${FULL_BUILD_ID}.zip *)
-mv tmp/${FULL_BUILD_ID}.zip .
+(cd tmp && zip -r $zipName *)
+mv tmp/$zipName .
if [ "$BUILD_TYPE" == "N" ]; then
touch $promoteSignal

Back to the top