Bitbucket pipeline yml how to clone Sub Repo

We have a parent repository and child repository in Bitbucket Mercurial cloud.

When push to mercurial happens, the parent pipeline gets triggered, but the child repositories are not able to clone.  Kindly let us know if this is supported

The log shows

+ docker run -t --entrypoint=/bin/bash --memory=4096m -e BUILD_DIR=/opt/atlassian/pipelines/agent/build -v /tmp/ -v build-volume-a42e25d5-c3db-41d8-9b62-314f0781dfbd:/opt/atlassian/pipelines:rw -w /opt/atlassian/pipelines/agent/build --label com.atlassian.pipelines.agent="2ec0cd73b24c" "atlassian/pipelines-dvcstools:latest" -i /tmp/

WARNING: Your kernel does not support swap limit capabilities, memory limited without swap.

+ umask 000Completed at 2016-12-22T07:26:13Z+

hg clone -r "a64a61840842739387d18f5d5f66877f55c22dbf" https://x-token-auth:$ .

adding changesetsadding manifestsadding file changes

added 384 changesets with 402 changes to 10 files

updating to branch AHS

http authorization required for

realm: HTTPuser: x-token-authpassword:


1 answer

0 vote

Does this cause the clone to hang? Fail? Or just not get all the repo contents you want?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,025 views 1 5
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