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
Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...
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