0

I have a git project with huge sub-directories history which I don't care for my ci/cd (all I care about is a specific file in ic/ subdirectory and the pom.xml in the root directory).

So I configure Git Plugin with 2 paths as sparse checkouts (. and ic/) but the root is never checked out and the history is loaded anyway!

How can I do to make Git only checkout the files in the root and ic/ directories and not the history of the huge sub-directories?

Btw, I am on a 1.625.3 version of Jenkins with the last compatible version of Git Plugin and I can't change that.

Thanks for your help

OphyTe
  • 68
  • 9

0 Answers0