Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

BB pipeline - can I run it from develop branch

Angel Todorov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 15, 2023

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?

2 answers

1 accepted

0 votes
Answer accepted
Angel Todorov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 17, 2023

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.

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 15, 2023

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events