diff --git a/versioncontrol/git.groovy b/versioncontrol/git.groovy index 5bcb0ba..c2f7046 100644 --- a/versioncontrol/git.groovy +++ b/versioncontrol/git.groovy @@ -104,13 +104,13 @@ def String checkouttoreporoot(String gitURL) { def checkgitlfsinstall() { if (isUnix()) { sh """ - git lfs install + git lfs install --skip-repo if [ \$? -ne 0 ]; then exit 1; fi """ } else { powershell """ - git lfs install + git lfs install --skip-repo if (\$lastexitcode -ge 1) { exit 1 } """ }