Author: richard.opalka(a)jboss.com
Date: 2008-09-19 08:52:07 -0400 (Fri, 19 Sep 2008)
New Revision: 8195
Added:
framework/trunk/hudson/hudson-home/jobs/Maven-Repository-Clean/
framework/trunk/hudson/hudson-home/jobs/Maven-Repository-Clean/config.xml
Log:
[JBWS-2310] restore Maven-Repository-Clean job
Added: framework/trunk/hudson/hudson-home/jobs/Maven-Repository-Clean/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Maven-Repository-Clean/config.xml
(rev 0)
+++ framework/trunk/hudson/hudson-home/jobs/Maven-Repository-Clean/config.xml 2008-09-19
12:52:07 UTC (rev 8195)
@@ -0,0 +1,44 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <builders class="vector">
+ <hudson.tasks.Shell>
+ <command>
+#
+# Module settings
+#
+MODULE=Maven-Repository-Clean
+
+USER=`whoami`
+
+if [ $USER = "root" ]; then
+ rm -rf /root/.m2/repository
+ rm -rf /data/maven-repos/hudson/repository
+else
+ rm -rf /home/$USER/.m2/repository
+fi
+ </command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers class="vector">
+ <hudson.tasks.Mailer>
+ <recipients>@hudson.mail.recipients(a)</recipients>
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+ <sendToIndividuals>true</sendToIndividuals>
+ </hudson.tasks.Mailer>
+ </publishers>
+ <buildWrappers class="vector"/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <enableRemoteTrigger>false</enableRemoteTrigger>
+ <triggers class="vector"/>
+ <logRotator>
+ <daysToKeep>-1</daysToKeep>
+ <numToKeep>20</numToKeep>
+ </logRotator>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <description>Deletes user local maven repository</description>
+ <actions class="vector"/>
+</project>
+