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.
Hi @Jayaram32,
Welcome to the community.
That is indeed possible using branches.
What you would need to do is to ensure you don't have the file "bitbucket-pipelines.yml" in your desired branch so that it won't trigger builds in that branch.
Otherwise, what you can do is to separate it between two repositories. Like one repository for source code, and the other is for Bitbucket Cloud Pipelines. You can then use the trigger-pipeline pipes to trigger builds from one repository to another.
Regards,
Mark C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.