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?
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
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
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...
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!
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