Jenkinsfile LFS fix for iOS/Mac pulls (#3396)
* Add git lfs install and pull into Jenkins Git pull stage Signed-off-by: Mike Chang <changml@amazon.com>
This commit is contained in:
Vendored
+5
@@ -338,6 +338,11 @@ def PreBuildCommonSteps(Map pipelineConfig, String snapshot, String repositoryNa
|
||||
else command += '.cmd'
|
||||
command += " -u ${pipelineConfig.BUILD_ENTRY_POINT} --platform ${platform} --type clean"
|
||||
palSh(command, "Running ${platform} clean")
|
||||
|
||||
if(fileExists('.lfsconfig')) {
|
||||
palSh("git lfs install", "LFS config exists. Installing LFS hooks to local repo")
|
||||
palSh("git lfs pull", "Pulling new LFS objects")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user