mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00
Merge pull request #20 from bwrsandman/patch-1
[MERGE] runbot: more robust detection of "Modules Loaded"
This commit is contained in:
commit
6265f24ce3
@ -764,8 +764,7 @@ class runbot_build(osv.osv):
|
||||
v = {
|
||||
'job_end': time.strftime(openerp.tools.DEFAULT_SERVER_DATETIME_FORMAT, log_time),
|
||||
}
|
||||
logger = 'odoo.modules.loading' if os.path.exists(build.path('odoo')) else 'openerp.modules.loading'
|
||||
if grep(log_all, "%s: Modules loaded." % logger):
|
||||
if grep(log_all, ".modules.loading: Modules loaded."):
|
||||
if rfind(log_all, _re_error):
|
||||
v['result'] = "ko"
|
||||
elif rfind(log_all, _re_warning):
|
||||
|
Loading…
Reference in New Issue
Block a user