Bamboo Subrepository HTTP Authorization Required

I'm trying to use a subrepo in one of my repositories. When Bamboo attempts to pull the parent repo, I get an authorization error:

Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.
java.lang.RuntimeException: com.atlassian.bamboo.plugins.hg.HgCommandException: command /usr/bin/hg update --clean --rev 11b8e8726b4295507d9fac459d48e055dee32abd --config 'ui.ssh=ssh -o StrictHostKeyChecking=no -o BatchMode=yes' failed. Working directory was `/home/bamboo/bamboo-agent-home/xml-data/build-dir/ST-STP-JOB1'. stderr: abort: http authorization required (in subrepo child)

How do I resolve this?

1 answer

This widget could not be displayed.

Authentication you selected in Bamboo doesn't work for subrepositories in Mercurial. You need to provide authentication details in hg configuration, for more information see this article: http://stackoverflow.com/questions/2584407/how-to-save-username-and-password-with-mercurial

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

106 views 2 0
Join discussion

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