You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Dear all,
I'd like to use the python plugin sphinx-multiversion from a bitbucket pipeline.
The pipeline see only the own branch. I need to fetch/pull all the remote branches to use the sphinx-multiversion plugin.
Could you please help me?
Thanks in advance.
SM
Hey Simone!
By default, pipelines will only perform a shallow clone of the repository with the current branch that you are executing the build on. This is to ensure that the build time is reduced as it does not need to clone the entire repository.
If you would like to perform a full clone with all branches included, you will need to add the following to the top of your bitbucket-pipelines.yml (above pipelines/default tag):
clone:
depth: full
More information regarding this can be found in the following article under the "clone" subheading:
https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/
Hope this helps.
Cheers!
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.