Author: nickboldt
Date: 2010-09-01 16:11:01 -0400 (Wed, 01 Sep 2010)
New Revision: 24627
Modified:
trunk/build/publish.sh
Log:
https://jira.jboss.org/browse/JBIDE-6969 add note re: using 12-digit timestamp instead of
hudson-generated build ID and build number
Modified: trunk/build/publish.sh
===================================================================
--- trunk/build/publish.sh 2010-09-01 20:05:22 UTC (rev 24626)
+++ trunk/build/publish.sh 2010-09-01 20:11:01 UTC (rev 24627)
@@ -2,6 +2,9 @@
# Hudson script used to publish Tycho-built p2 update sites
# NOTE: sources MUST be checked out into ${WORKSPACE}/sources
+# to use timestamp when naming dirs instead of ${BUILD_ID}-H${BUILD_NUMBER}, use:
+# BUILD_ID=2010-08-31_19-16-10; timestamp=$(echo $BUILD_ID | tr -d "_-");
timestamp=${timestamp:0:12}; echo $timestamp; # 201008311916
+
# where to create the stuff to publish
STAGINGDIR=${WORKSPACE}/results/${JOB_NAME}