Hi All,
Let's assume I am using Bamboo 8.0.6 and bitbucket data center hosted on prem have all application as well as bamboo spec.
The scenario is : I have two application A and B have their own repo to manage their source code. Can we have one repo "devops-bamboo-pipeline" to keep YAML spec file for App A and App B instated of keeping YAML spec on App repo itself? How to trigger only specific app bamboo spec when code push happens to respective application repo?
```
devops-bamboo-pipeline
|------- Bamboo_AppA.yml ----> Trigger when code push to App A repo
| - ----- Bamboo_AppB.yml -----> Trigger when code push to App B repo
```
Any thought or pointer would be greatly appreciated!
Thanks
Mohan
Hey @Mohan L,
Happy to help you again!
You can reference multiple files in a YAML spec by using include statements:
Here is a nice question that you can refer to for usage examples:
To trigger a specific plan when committing changes to its code repository, you need to configure it in a way that you'll have either a repository polling rule or a remote trigger to from your code repository (not the specs repository). This way once your code repository changes, Bamboo will detect it and initiate a build.
Cheers,
Eduardo Alvarenga
Atlassian Support APAC
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.