# a shorter alias to save typing.
c = BuildmasterConfig = {}
+# WORKDIR must be an absolute path that is not volatile; systems
+# like Ubuntu wipe /tmp/ on a reboot, for example, which is
+# disastrous for build history, at least for gitpoller
+WORKDIR = '/home/buildmaster/'
+
####### BUILDSLAVES
# The 'slaves' list defines the set of recognized buildslaves. Each element is
c['change_source'].append(gitpoller.GitPoller(
project='OpenSRF',
repourl=osrf_git,
- workdir='/tmp/buildbot_osrf_' + osrf_branch,
+ workdir= WORKDIR + 'buildbot_osrf_' + osrf_branch,
branch=osrf_branch
))
c['change_source'].append(gitpoller.GitPoller(
project='Evergreen',
repourl=eg_git,
- workdir='/tmp/buildbot_eg_' + eg_branch,
+ workdir= WORKDIR + 'buildbot_eg_' + eg_branch,
branch=eg_branch
))
$self->{persist} = $persist || 0;
$self->{memcache} = Cache::Memcached->new( { servers => $servers } );
if(!$self->{memcache}) {
+ open(CACHEFOO, '>', '/tmp/cached');
+ print CACHEFOO "De nada\n";
+ close(CACHEFOO);
throw OpenSRF::EX::PANIC ("Unable to create a new memcache object for $cache_type");
}