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

How to remove BitBucket Branch reference ?

Deleted user July 15, 2019

i have a shell script which will delete all the branches that has no commits in the past 60 days, this was implemented as part for gitclean up activity.

 

After purging these branches in git the first generator job takes time approx 2-3 hours due to the references of the deleted branches in bitbucket. Do you know a way to get rid of these references when the git branches are being purged ?

 

i get this error in jenkins post branch purge/delete

 

19:48:09 Deleting unreferenced Branch folder:

 this approx takes 3 mins to delete one branch,, our project has 30 branches deleted approx which takes hours for this job. Pleas help !!! 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events