Author: nickboldt
Date: 2010-06-09 19:21:35 -0400 (Wed, 09 Jun 2010)
New Revision: 22705
Added:
trunk/download.jboss.org/jbosstools/examples/nightly/jbosstools-project-e...
Log:
JBIDE-6443 Check SVN at intervals and automatically publish
Added:
trunk/download.jboss.org/jbosstools/examples/nightly/jbosstools-project-e...
===================================================================
---
trunk/download.jboss.org/jbosstools/examples/nightly/jbosstools-project-e...
(rev 0)
+++
trunk/download.jboss.org/jbosstools/examples/nightly/jbosstools-project-e... 2010-06-09
23:21:35 UTC (rev 22705)
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+# This script is run here:
http://hudson.qa.jboss.com/hudson/view/DevStudio/job/jbosstools-project-e...
+# And archived here:
https://anonsvn.jboss.org/repos/jbosstools/trunk/download.jboss.org/jboss...
+# --------------------------------------------------------------------------------
+#starttime=`date +%s`
+#uname -a
+
+#if [[ $DESTINATION == "" ]]; then
+ DESTINATION="tools@filemgmt.jboss.org:/downloads_htdocs/tools"
+#fi
+#echo "Destination to publish: $DESTINATION"
+
+rsync -aPr --delete $WORKSPACE/sources/* $DESTINATION/examples/nightly/
+
+#endtime=`date +%s`; elapsed=$(echo "scale=2; ($endtime - $starttime)/60" | bc
-l); # calculate diff of seconds as minutes using bc
+#echo "Elapsed time: ${elapsed}mins."
Property changes on:
trunk/download.jboss.org/jbosstools/examples/nightly/jbosstools-project-e...
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain