Author: alessio.soldano(a)jboss.com
Date: 2011-02-21 03:07:15 -0500 (Mon, 21 Feb 2011)
New Revision: 13776
Modified:
hudson/trunk/hudson-home/jobs/MAVEN-REPOSITORY-CLEAN/config.xml
Log:
Just delete m2 repository contents, not the repository directory
Modified: hudson/trunk/hudson-home/jobs/MAVEN-REPOSITORY-CLEAN/config.xml
===================================================================
--- hudson/trunk/hudson-home/jobs/MAVEN-REPOSITORY-CLEAN/config.xml 2011-02-21 02:40:38
UTC (rev 13775)
+++ hudson/trunk/hudson-home/jobs/MAVEN-REPOSITORY-CLEAN/config.xml 2011-02-21 08:07:15
UTC (rev 13776)
@@ -11,7 +11,7 @@
USER=`whoami`
if [ -d /home/$USER/.m2/repository ]; then
- rm -rf /home/$USER/.m2/repository
+ rm -rf /home/$USER/.m2/repository/*
fi
if [ -d /data/maven-repos/hudson/repository ]; then
rm -rf /data/maven-repos/hudson/repository
Show replies by date