mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[FIX] runbot typo
This commit is contained in:
parent
de54d4a78c
commit
d4db0c89aa
@ -745,14 +745,14 @@ class runbot_build(osv.osv):
|
|||||||
state = 'sucess'
|
state = 'sucess'
|
||||||
if build.result == 'ko':
|
if build.result == 'ko':
|
||||||
state = 'failure'
|
state = 'failure'
|
||||||
desc += " (runtime %ss)" % (real_build.job_time,)
|
desc += " (runtime %ss)" % (build.job_time,)
|
||||||
else:
|
else:
|
||||||
continue
|
continue
|
||||||
status = {
|
status = {
|
||||||
"state": state,
|
"state": state,
|
||||||
"target_url": "http://%s/runbot/build/%s" % (runbot_domain, build.id),
|
"target_url": "http://%s/runbot/build/%s" % (runbot_domain, build.id),
|
||||||
"description": desc,
|
"description": desc,
|
||||||
"context": "continuous-integration/runbot"
|
"context": "ci/runbot"
|
||||||
}
|
}
|
||||||
_logger.debug("github updating status %s to %s", build.name, state)
|
_logger.debug("github updating status %s to %s", build.name, state)
|
||||||
build.repo_id.github('/repos/:owner/:repo/statuses/%s' % build.name, status, ignore_errors=True)
|
build.repo_id.github('/repos/:owner/:repo/statuses/%s' % build.name, status, ignore_errors=True)
|
||||||
|
@ -28,7 +28,7 @@ class runbot_build(openerp.models.Model):
|
|||||||
status = {
|
status = {
|
||||||
"state": state,
|
"state": state,
|
||||||
"target_url": "http://www.odoo.com/sign-cla",
|
"target_url": "http://www.odoo.com/sign-cla",
|
||||||
"description": "Odoo CLA",
|
"description": "%s Odoo CLA signature check" % build.author,
|
||||||
"context": "legal/cla"
|
"context": "legal/cla"
|
||||||
}
|
}
|
||||||
build._log('check_cla', 'Check CLA %s' % state)
|
build._log('check_cla', 'Check CLA %s' % state)
|
||||||
|
Loading…
Reference in New Issue
Block a user