Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,594
Community Members
 
Community Events
165
Community Groups

Is it possible to have all Bamboo YAM Spec on single repo?

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

1 answer

0 votes

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

966 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you