[jbosstools-commits] JBoss Tools SVN: r43782 - trunk/build/publish.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Sep 18 02:00:18 EDT 2012


Author: nickboldt
Date: 2012-09-18 02:00:17 -0400 (Tue, 18 Sep 2012)
New Revision: 43782

Modified:
   trunk/build/publish/publish.sh
Log:
only call jbosstools-cleanup.sh for aggregate builds; components don't need to bother (JBIDE-8667)

Modified: trunk/build/publish/publish.sh
===================================================================
--- trunk/build/publish/publish.sh	2012-09-18 05:58:27 UTC (rev 43781)
+++ trunk/build/publish/publish.sh	2012-09-18 06:00:17 UTC (rev 43782)
@@ -471,11 +471,13 @@
 # purge tmpdir
 rm -fr $tmpdir
 
-# regenerate http://download.jboss.org/jbosstools/builds/nightly/*/*/composite*.xml files for up to 5 builds, cleaning anything older than 5 days old
-wget http://anonsvn.jboss.org/repos/jbosstools/trunk/build/util/cleanup/jbosstools-cleanup.sh --no-check-certificate
-chmod +x jbosstools-cleanup.sh
-./jbosstools-cleanup.sh 5 5
-rm -f jbosstools-cleanup.sh
+if [[ ${JOB_NAME/.aggregate} != ${JOB_NAME} ]]; then
+	# regenerate http://download.jboss.org/jbosstools/builds/nightly/*/*/composite*.xml files for up to 5 builds, cleaning anything older than 5 days old
+	wget http://anonsvn.jboss.org/repos/jbosstools/trunk/build/util/cleanup/jbosstools-cleanup.sh --no-check-certificate
+	chmod +x jbosstools-cleanup.sh
+	./jbosstools-cleanup.sh 5 5
+	rm -f jbosstools-cleanup.sh
+fi
 
 # to avoid looking for files that are still being synched/nfs-copied, wait a bit before trying to run tests (the next step usually)
 sleep 15s



More information about the jbosstools-commits mailing list