What branch is the bitbucket-pipelines.yaml being loaded from? The main branch? Master? From the branch that it is supposed to build?
I have seen some strange behaviour where the bitbucket-pipelines.yaml has been modified in the main branch, but a scheduled build job has not picked up those changes.
Cheers,
Mirko
As stated in the documentation here. If you mention `default`, the pipeline will be triggered on every commit on any branch. If you specifically mentioned the branch names, then it will triggered only on those branches if any changes happen in them.
Hi @Gnanamadhu thanks for your reply. It does not 100% answer my question though. The bitbucket-pipelines.yaml can have different contents based on the branch. So where does the pipeline code come from? From whatever the main branch is?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For a working example, I have just committed the bitbucket-pipelines.yaml to a feature branch. There are no pipelines listed for the repository, I have also gone into the settings to enable pipelines which seems not to have made any difference.
What is the expected behaviour here? Does the bitbucket-pipelines.yaml file need to be committed to the default branch? Is this the first time only? If so I'd be concerned I can't test my changes before rolling them out to everyone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.