It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Changing repo based on build parameter.

Hi,

so I am fairly new to Bamboo.  One thing I have previously done with Jenkins is to have the repository url set as a build parameter.  So I just have one plan that is able to trigger on scm changes in the staging repo, but it's possible to just "run customised" and specify a local repo a user has served, or the baseline repo, without having to clone the plan and create a new linked repository.

Is this a thing in Bamboo.  Does anyone have a recommendation.  

I understand this repo setup may not be optimal, but it's not something I necessarily have control over.

 

1 answer

1 vote

2 suggestions that might work for you:

- use a bamboo variable when defining repository url. Define the value for that variable in your plan: that will be your 'default' url. Use 'run customised' to override. Caveat: this will work assuming you can use the same credentials to both repos.

- use Plan Branches feature. Despite its name, you can actually override complete repository definition and use it to build from different url. Simply create a branch then go to its 'repository' configuration tab and edit it.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published yesterday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

45 views 0 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you