CORE-348: Trying to resolve a git error in the autobuild.

This commit is contained in:
Tamas Csillag 2021-10-22 13:40:59 +01:00
commit 56951ba7d0

View file

@ -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 }
"""
}