cleanup
parent
9aae530430
commit
2d09a57f80
|
|
@ -250,17 +250,17 @@ class AWS {
|
||||||
fi
|
fi
|
||||||
cd "${branchName}"
|
cd "${branchName}"
|
||||||
|
|
||||||
echo ''
|
echo ' '
|
||||||
echo 'Cached Libraries for ${branchName}'
|
echo 'Cached Libraries for ${branchName}'
|
||||||
ls
|
ls
|
||||||
echo ''
|
echo ' '
|
||||||
|
|
||||||
latest=$(ls -t | head -1)
|
latest=$(ls -t | head -1)
|
||||||
echo $latest
|
echo $latest
|
||||||
if [ -f $latest ]; then
|
if [ -f $latest ]; then
|
||||||
echo "Cache exists"
|
echo "Cache exists"
|
||||||
cd ../../
|
cd ../../
|
||||||
unzip "cache/${branchName}/$latest" ../${buildUid}/repo/Library/.
|
unzip "cache/${branchName}/$latest" ./${buildUid}/repo/Library/.
|
||||||
else
|
else
|
||||||
echo "Cache does not exist"
|
echo "Cache does not exist"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -37,17 +37,17 @@ class AWS {
|
||||||
fi
|
fi
|
||||||
cd "${branchName}"
|
cd "${branchName}"
|
||||||
|
|
||||||
echo ''
|
echo ' '
|
||||||
echo 'Cached Libraries for ${branchName}'
|
echo 'Cached Libraries for ${branchName}'
|
||||||
ls
|
ls
|
||||||
echo ''
|
echo ' '
|
||||||
|
|
||||||
latest=$(ls -t | head -1)
|
latest=$(ls -t | head -1)
|
||||||
echo $latest
|
echo $latest
|
||||||
if [ -f $latest ]; then
|
if [ -f $latest ]; then
|
||||||
echo "Cache exists"
|
echo "Cache exists"
|
||||||
cd ../../
|
cd ../../
|
||||||
unzip "cache/${branchName}/$latest" ../${buildUid}/repo/Library/.
|
unzip "cache/${branchName}/$latest" ./${buildUid}/repo/Library/.
|
||||||
else
|
else
|
||||||
echo "Cache does not exist"
|
echo "Cache does not exist"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue