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

Bamboo Subrepository HTTP Authorization Required

andrew_pye October 8, 2014

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

0 votes
Krystian Brazulewicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 9, 2014

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

Atlassian Community Events