Re: clean up maven repo in Jenkins slave

2012-04-17 Thread domi
Jason, if you talk about jenkins home, there are two homes you have to think about: - JENKINS_HOME, this is where the config of Jenkins will be, have a look here: https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins - Home of the user Jenkins is running with: this depends on the syst

Re: clean up maven repo in Jenkins slave

2012-04-16 Thread JasonX
Hi Domi, this is a great help. I have more questions. where can I check/change the home directory of my user jenkins running with? Is that a good idea if i put maven repos in a share drive and mount it on both maven and jenkins slave servers so that only one location should be cleared up once

Re: clean up maven repo in Jenkins slave

2012-04-14 Thread domi
It's not jenkins who copies the dependencies to this location, its maven. There are multiple reasons which could cause this: - you have configured /opt to be the home directory of your user you running jenkins with. - this location is configured in your settings.xml If you delete all these, maven

clean up maven repo in Jenkins slave

2012-04-13 Thread JasonX
I saw maven repo is copied to /opt/.m2 directory on Jenkins slave from maven server and it fills up Jenkins slave disk. I wanna clean it up. How can I do it? can I remove all of the repos from Jenkins slave after each build? is that necessary to keep all dependencies on Jenkins slave but they are