How to get tags and full history from the code base via CIE built in clone step?

For all manual CIE builds, built in clone step will use a depth of 50 which means the clone operation fetches the most recent 50 commits. This would would not have tags or full history of the code base.

In order to get tags and full history of the code base, you need to set depth as ‘0’ under the advanced config of code base configuration in build pipeline as shown below

However in case of triggered Builds, the default Depth is ‘0’ and it will fetch tags and full history of the code base.

3 Likes