Author: nickboldt
Date: 2010-10-04 14:57:44 -0400 (Mon, 04 Oct 2010)
New Revision: 25465
Modified:
trunk/build/publishUpdateZipToStaging.sh
Log:
https://jira.jboss.org/browse/JBDS-1349 new single-serving update site zip publisher, for
on demand use (by Hudson)
Modified: trunk/build/publishUpdateZipToStaging.sh
===================================================================
--- trunk/build/publishUpdateZipToStaging.sh 2010-10-04 18:55:48 UTC (rev 25464)
+++ trunk/build/publishUpdateZipToStaging.sh 2010-10-04 18:57:44 UTC (rev 25465)
@@ -1,5 +1,7 @@
+# Use this script to publisher a single update site zip via a Hudson job
+
# get zip name from zip.list.txt
-path=$(wget -q
http://download.jboss.org/jbosstools/builds/staging/${JOB_NAME}/logs/zip.... -O - |
egrep -- "-Update-" | sed "s#,\\\\##");
+path=$(wget -q
http://download.jboss.org/jbosstools/builds/staging/${JOB_NAME}/logs/zip.... -O - |
egrep -- "-Update-" | head -1 | sed "s#,\\\\##");
# get zip to local
rsync -arzq
tools@filemgmt.jboss.org:/downloads_htdocs/tools/builds/staging/${JOB_NAME}/${path} .
@@ -7,4 +9,3 @@
# push renamed zip to remote
cd ${path%/*}; rsync -arzq ${path##*/}
tools@filemgmt.jboss.org:/downloads_htdocs/tools/updates/staging/${JOB_NAME}-Update.zip
-