Hello everyone!
I would like to automate company repo by adding BB pipeline.
Since I would like to experiment, I created locally bitbucket-pipelines.yml with "custom" set of tasks only (so I can run the pipeline manually) and merged this PR to develop branch.
However, I cannot see the pipeline being available, when I go to "Pipelines" menu option for the specific repo. I only see pipeline wizard options to start building visually pipeline.
Do I need to merge bitbucket-pipelines.yml to master as well to make it available to the repo pipelines menu?
Actually, you can run bitbucket-pipelines.yml from `develop` branch as well. The caveat is - if you want to do that from develop branch, you need to add also branches: develop: section in the YML file. Then when you merge PR to develop branch, BB will trigger the pipeline and it will make your bitbucket-pipelines.yml available for further executions, including manual/custom ones.
Hi @Angel Todorov,
Welcome to the community.
That's correct, you'll need to push the file bitbucket-pipelines.yml in your main branch as well.
Regards,
Mark C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.