Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

one configure bitbucket-pipelines.yml file for use two branches

Ayush Sharma March 2, 2022

HI

    I'm working on the pipeline but I'm only created one bitbucket-pipelines.yml  for my master branch and don't add a deployment branch is the pipeline working? 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 4, 2022

Hi @Ayush Sharma and welcome to the community!

If you have a repo with two branches and you want to run pipelines builds on every push to these two branches, then a bitbucket-pipelines.yml file should exist in both branches.

The bitbucket-pipelines.yml should include either a default definition or a branches definition with the branches' names.

If you have any questions or need further help please feel free to let me know.

Kind regards,
Theodora

Ayush Sharma March 8, 2022

thankyou @Theodora Boudale  

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 9, 2022

You are very welcome @Ayush Sharma, please feel free to let us know if you have any other questions.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events