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