Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Clone all repos under a project to remote server also running BB

Jonathan Vezinat
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 27, 2020

I would like to automate pulling/cloning all the repos from one project to another BB instance residing on a remote server.  Currently i see where you can manually, one at a time, clone repos via the web gui.

I have also seen where i can use the rest API.  Is this really not built into bitbucket server?  I would think this would be a feature at this point.  Do i need to script this out on my own?

 

Anyone ever accomplish this? If so, how did you do it?

1 answer

0 votes
Dave Theodore [Coyote Creek Consulting]
Community Champion
July 29, 2020

It's easy enough to walk an array in bash and run the git command on each element of the array. That's what I would do. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events