romhut / criterion

This project is no longer maintained - Criterion is a Continuous Integration app built in PHP using MongoDB. Criterion is very easy to setup, and you can add GIT repositories from any provider, and run any commands you wish against it.
MIT License
53 stars 6 forks source link

Override Branch #77

Closed scottrobertson closed 3 years ago

scottrobertson commented 11 years ago

Allow the branch to be picked in project config settings. It will use this one unless a test is specifically passed in (from hooks).

marcqualie commented 11 years ago

The branch should be on a per-test basis. When you click "run-test" it should have a drop down arrow next to it listing all of the branches on the project to select from, or option to type in your own if it can't detect branches.

scottrobertson commented 11 years ago

Yeah that sounds good. Could you write a helper method in Helper\Repo to generate an array of branches, should be easy enough.

scottrobertson commented 11 years ago

Found that this can be done by passing ?branch=BLAH at the end of the start test url. Just needs a UI around it now. @outrunthewolf?