read latest library cache correctly
parent
e12185be81
commit
84c1ad2ca0
|
|
@ -2179,7 +2179,7 @@ class RemoteBuilder {
|
||||||
echo 'Cloned ${repo2}'
|
echo 'Cloned ${repo2}'
|
||||||
#
|
#
|
||||||
echo ' '
|
echo ' '
|
||||||
echo 'Cloning main repo'
|
echo 'Cloning main repo without LFS'
|
||||||
${initializeSourceRepoForCaching}
|
${initializeSourceRepoForCaching}
|
||||||
echo ' '
|
echo ' '
|
||||||
echo 'cache pull'
|
echo 'cache pull'
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -40,7 +40,7 @@ fi
|
||||||
echo "Checking cache"
|
echo "Checking cache"
|
||||||
|
|
||||||
# Restore library cache
|
# Restore library cache
|
||||||
latest=$(ls -t $cacheDir | head -1)
|
latest=$(ls -t "$cacheFolderFull/$branchName" | head -1)
|
||||||
if [ ! -z "$latest" ]; then
|
if [ ! -z "$latest" ]; then
|
||||||
echo "Library cache exists from build $latest from $branchName"
|
echo "Library cache exists from build $latest from $branchName"
|
||||||
echo 'Creating empty Library folder for cache'
|
echo 'Creating empty Library folder for cache'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue