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/bashScript6789261114367880226.sh:/tmp/bashScript6789261114367880226.sh:ro -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/bashScript6789261114367880226.sh

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:$AUTH_TOKEN@bitbucket.org/xxxxxx-parent .

adding changesetsadding manifestsadding file changes

added 384 changesets with 402 changes to 10 files

updating to branch AHS

http authorization required for https://bitbucket.org/xxxx/child

realm: Bitbucket.org HTTPuser: x-token-authpassword:

 

1 answer

0 votes

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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

405 views 5 9
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