[Buildbot-devel] Get build info in mail
Bhavik
bhavikdbavishi at gmail.com
Fri Jul 29 19:46:42 UTC 2011
Hi,
I am trying to get build information like workdir, starttime,
endtime and property
values which are passed using "Force Build" on webpage.
I am able print using build.__dict__ but when try to access from it,
throws an
exception ...
=======================================================================
exec f in localDict exceptions.SyntaxError: invalid syntax (master.cfg
=======================================================================
I am using mail format function which is ..
=======================================================================
def html_message_formatter(mode, name, build, results, master_status):
....
=======================================================================
I tried to get value using WithProperties("%s", "build_version") ...
but it returns object like ..
=======================================================================
<buildbot.process.properties.WithProperties instance at 0x1385760>
=======================================================================
Could you please guide me to retrieve those information ?
thanks in advance.
More information about the devel
mailing list