Create Lib folder when restoring cache
parent
69ee3053d6
commit
98858d6b30
|
|
@ -258,6 +258,7 @@ class AWS {
|
||||||
echo $latest
|
echo $latest
|
||||||
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"
|
||||||
|
mkdir /data/${buildUid}/repo/${buildParameters.projectPath}/Library
|
||||||
unzip -q $latest -d /data/${buildUid}/repo/${buildParameters.projectPath}/Library/.
|
unzip -q $latest -d /data/${buildUid}/repo/${buildParameters.projectPath}/Library/.
|
||||||
else
|
else
|
||||||
echo "Cache does not exist"
|
echo "Cache does not exist"
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -46,6 +46,7 @@ class AWS {
|
||||||
echo $latest
|
echo $latest
|
||||||
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"
|
||||||
|
mkdir /data/${buildUid}/repo/${buildParameters.projectPath}/Library
|
||||||
unzip -q $latest -d /data/${buildUid}/repo/${buildParameters.projectPath}/Library/.
|
unzip -q $latest -d /data/${buildUid}/repo/${buildParameters.projectPath}/Library/.
|
||||||
else
|
else
|
||||||
echo "Cache does not exist"
|
echo "Cache does not exist"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue