Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Mohan L April 18, 2022

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
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 18, 2022

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
AUG Leaders

Atlassian Community Events