Can you configure GitHub with custom URL?

We have a custom URL from GitHub like git1.pscpl.com. There does not seem to be any option to do that in Bamboo 5.8.1!

I am currently configuring our repositories as linked Git repositories and also specifying the repository ssh URL with the private key and branch.

It looks like I have to create a linked repository whenever I need to provide a different branch! In that sense, the bamboo linked repository is more like a 'repository + branch + key'. Is there an alternative where I can specify branch while specifying the source code checkout task or similar?

I have the same key for all my repositories. Do I need to specifically upload it whenever I specify a Bamboo linked repository? Is there a way I can just upload the key once as a global fall-back key for all repositories?

1 answer

1 accepted

1 vote

You should be able to configure GitHub's base URL using system property atlassian.bamboo.github.api.base.url by default it is set to https://api.github.com/

Regarding your second question. Can you please describe your scenario with more details? Why is your top level Plan using branch of the repository? Did you have a chance to read this documentation: https://confluence.atlassian.com/display/BAMBOO/Using+plan+branches ?

Is there any other way to set system variable other than https://confluence.atlassian.com/display/BAMBOO/Configuring+Bamboo+on+start-up ? I am interested in knowing if there is a GUI/Web UI way to do it. (Of course, it will need restart?)

There's no GUI for that

I, too, have a github Enterprise.  The property you mention is set where?  setenv.sh?  bamboo.cfg.xml?  

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Agility Beta

We've moved!

A note to all watchers that we've moved to a new community home... https://community.atlassian.com/t5/Agility/ct-p/agility Please update your notification subscriptions to keep across the ...

55 views 0 2
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