How to achieve shallow checkout in bitbucket and bamboo

Bibin Mohan_K May 15, 2017

How to achieve shallow checkout in bitbucket and bamboo ,only checkout updated files  for the build purpose 

1 answer

0 votes
Jeyanthan I
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 31, 2017

Did you mean Git shallow clone

How about creating a script task in Bamboo and just give the shallow clone URL like below?

git clone --depth 1 https://your-remote-bitbucket-url/

This option allows you to pull down only the latest commit of the repo’s history.

Hope that helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events