How to blobless clone in Jenkins?

140 views Asked by At

I'd like to execute a blobless clone for a Git repository (i.e. git clone --filter=blob:none <url>). But looking at the documentation for scmGit's extensions.cloneOption, it doesn't seem to support specifying a filter flag.

Is there any Git plugin-native ways to do a blobless clone? Or must I resort to binding credentials (with withCredentials) and running sh steps?

0

There are 0 answers