There are some plugins that can be used to clean the workspace. At least:

https://wiki.jenkins-ci.org/display/JENKINS/Hudson+Distributed+Workspace+Clean+plugin
https://wiki.jenkins-ci.org/display/JENKINS/SVN+Workspace+Cleaner
https://wiki.jenkins-ci.org/display/JENKINS/Workspace+Cleanup+Plugin

Maybe you could check if you have any of those installed and then either 
disable them or try to check the Jenkins system log if those plugins have done 
anything during the time files start disappearing.

The Jenkins system log is at Manage Jenkins -> System log. You may need to 
change the logging level to see something.

-- Sami

Nate Gelbard kirjoitti 11.7.2012 kello 22.34:

> Hi, I'm a long time Hudson user and recently migrated our R&D test automation 
> to Jenkins 1.464.
> 
> I have several jobs (on Linux slaves) that checkout several SVN URLs and 
> execute a shell script loop that runs various test parameters.
> These tests run over 24 hours.
> 
> I have discovered recently in the job log everything went fine for several 
> iterations, then file not found errors occur, and the workspace is empty save 
> for a few files.
> All the svn checkouts and test outputs - gone. This is the 3rd time this week 
> this has happened.
> 
> We have had this problem in Hudson as well, usually workspaces of active jobs 
> disappear at midnight. Today it was Noon.
> 
> We've review the scripts for things like 'rm $WORKSPACE/' and found nothing. 
> No one else logged in during that time. The scripts work when not run in 
> jenkins.
> 
> Does anyone have an idea why a workspace is deleted while the job is running?
> Thanks
> -Nate
> 

Reply via email to