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 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 Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

265 views 0 12
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