can bitbucket-pipelines.yml be in any branch? Suppose I have a repo with multiple branches ( master, develop, feature_cool_feature_1, etc.) and have bitbucket-pipelines.yml in every, contains:
pipelines:
default:
- step:
{unittests running}
Will they work altogether when merge any branch? Or only 1 bitbucket-pipelines.yml will work according to branch where code is merged?
@alstaroverov The Bitbucket Pipelines definition is based on the branch that has changed.
For example: If I push a commit to the development branch, then bitbucket-pipelines.yml from the development branch is used as the Bitbucket Pipelines definition. Please let me know if you have further questions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.