Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,629
Community Members
 
Community Events
185
Community Groups

Bitbucket get all remote branches for sphinx-multiversion

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

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 10, 2022

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)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events