The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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).

TAGS
AUG Leaders

Atlassian Community Events