I want to create a panel for the homepage dashboard which displays the last 5 commits to the master branch and their build status.
We have two herald rules which trigger builds for two branches, the master branch and a stable branch.
It is easy to create a query which displays the last 5 builds but I haven't found a way to filter queries depending on which branch the commit which triggered the build is from.
There are two obvious ways that I can see to solve this problem.
- Make it possible to filter builds by which herald rule triggered them
- Make it possible to filter builds by which branch the commit being built is on.