dancryer / PHPCI

PHPCI is a free and open source continuous integration tool specifically designed for PHP.
BSD 2-Clause "Simplified" License
2.42k stars 441 forks source link

adding a setting to display branch names in Dashboard #1295

Closed JoolsMcFly closed 7 years ago

JoolsMcFly commented 7 years ago

Contribution Type: bug fix | new plugin | new feature | refactor | cosmetic Link to Intent to Implement: Link to Bug:

This pull request affects the following areas:

In raising this pull request, I confirm the following (please check boxes):

Detailed description of change:

JoolsMcFly commented 7 years ago

Hi,

In our project we are building several branches at a time and we can't easily tell from Latest Builds panel which branch a build was run on. So I've added an option in Admin Settings so users can choose to display branches names in Latest Builds panel.

If enabled then the branch name will appear between brackets, see attached image. image

I also went ahead and fixed formatting and docblock in TapParser.php so build should be at green again.

Thanks for reviewing my PR.