mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00
[FIX] runbot: ensure logs dir exists
This commit is contained in:
parent
4fb0b2c735
commit
ff404a4334
@ -929,6 +929,7 @@ class runbot_build(osv.osv):
|
||||
if build.state != 'done':
|
||||
build.logger('running %s', build.job)
|
||||
job_method = getattr(self,build.job)
|
||||
mkdirs([build.path('logs')])
|
||||
lock_path = build.path('logs', '%s.lock' % build.job)
|
||||
log_path = build.path('logs', '%s.txt' % build.job)
|
||||
pid = job_method(cr, uid, build, lock_path, log_path)
|
||||
|
Loading…
Reference in New Issue
Block a user