purge caching correctly
parent
47e5e0f230
commit
a2257b05b6
|
|
@ -2326,7 +2326,6 @@ class RemoteBuilder {
|
|||
apk add zip
|
||||
cd Library
|
||||
zip -r lib-${buildUid}.zip .*
|
||||
zip -r lib-${buildUid}.zip .*
|
||||
mv lib-${buildUid}.zip /${buildVolumeFolder}/${cacheFolder}/${branchName}/lib/lib-${buildUid}.zip
|
||||
cd ../../
|
||||
ls
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -6,13 +6,6 @@ libraryFolderFull=$3
|
|||
gitLFSDestinationFolder=$4
|
||||
purgeRemoteBuilderCache=$5
|
||||
|
||||
echo " "
|
||||
echo "Caching starting, parameters:"
|
||||
echo "$cacheFolderFull"
|
||||
echo "$branchName"
|
||||
echo "$libraryFolderFull"
|
||||
echo "$purgeRemoteBuilderCache"
|
||||
|
||||
cacheFolderWithBranch="$cacheFolderFull/$branchName"
|
||||
|
||||
echo " "
|
||||
|
|
@ -56,6 +49,6 @@ fi
|
|||
|
||||
# purge cache
|
||||
if [ "$purgeRemoteBuilderCache" == "true" ]; then
|
||||
rm -r "$libraryFolderFull"
|
||||
rm -r "$cacheFolderFull"
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue