I am confuse with this Shallow Clone usage,
When i clone this repo in CICD pipelines, does i need to set all of this language to
shallow clone 0 ? or only to some specific language ?
Another question is:
If i’m not apply
shalow clone 0 what might possible issue i face ?
You should not be using a shallow clone at all. If you’re getting a warning about shallow cloning in your analysis log, you need to look at your checkout. Try setting
fetch-depth to 0.
Thank you for your response.
May i know what the result of issue i will face if i ignore those error ?
Analysis uses SCM data to
- identify which code is new
- properly assign creation dates to issues
- assign new issues to their authors
Without full SCM data, these things go sideways.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.