Presentation by Pierre Tardy
| Algorithmicist | |
| Tinkerer | |
| 50% | Architect |
| Sharpshooters | |
| 50% | Jack-of-all-trades |
| Prankster | |
| Castellan | |
| Translator |
Buildbot, Hudson
CruiseControl
Bamboo
TeamCity
[...]
Your Own?
Build it based on Buildbot!
mydashboardapp = Flask('test', root_path=os.path.dirname(__file__))
@mydashboardapp.route("/index.html")
def main():
# This code fetches build data from the data api, and give it to the
# template
builders = mydashboardapp.buildbot_api.dataGet("/builders")
builds = mydashboardapp.buildbot_api.dataGet("/builds", limit=20)
# properties are actually not used in the template example, but this is
# how you get more properties
for build in builds:
build['properties'] = mydashboardapp.buildbot_api.dataGet(
("builds", build['buildid'], "properties"))
build['results_text'] = statusToString(build['results'])
# mydashboard.html is a template inside the template directory
return render_template('mydashboard.html', builders=builders, builds=builds,
graph_data=graph_data)