Forums

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

Can we maintain CI/CD script and source conde separate repository

Jayaram32
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!
December 8, 2024

 

 

Hi Team ,

My self Jayaram. 

Can we maintain src code and CI/CD code in separate branches.

While triggering pipeline manually  it should show all branches listed in to the dropdown and we should be able to select which branch I want to trigger.

is this possible in Bitbcuket. 

If i am mentioning like below :
branches:

      develop;

If am mentioning like this , I can see in dropdown only develop. If i mentioned all names. all branches will trigger. 

 

How can i achieve this in bitbucket. 

 

Thanks & Regards,

Jaya Ramarao S.

1 answer

1 vote
Aron Gombas _Midori_
Community Champion
December 9, 2024

Bitbucket follows the "build as code" principle, meaning that the pipeline descriptor is checked in to the code -- just like a source code file. So the build is tied to the code on a given branch.

To run a pipeline manually, go to Pipelines in the left-bar, then click the Run pipeline button. In the dialog, you can choose the branch and then a pipeline (which is defined in the pipeline descriptor on that branch).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events