cleanup
parent
d3e60e05df
commit
7d11eca81c
|
|
@ -243,9 +243,14 @@ class AWS {
|
|||
if [ ! -d "cache" ]; then
|
||||
mkdir "cache"
|
||||
fi
|
||||
|
||||
ls
|
||||
cd cache
|
||||
|
||||
if [ ! -d "${branchName}" ]; then
|
||||
mkdir "${branchName}"
|
||||
fi
|
||||
cd "${branchName}"
|
||||
|
||||
|
||||
ls
|
||||
|
||||
echo ''
|
||||
|
|
@ -254,7 +259,8 @@ class AWS {
|
|||
echo $latest
|
||||
if [ -f $latest ]; then
|
||||
echo "Cache exists"
|
||||
unzip "$latest" ../${buildUid}/repo/Library/.
|
||||
cd ../../
|
||||
unzip "cache/${branchName}/"$latest ../${buildUid}/repo/Library/.
|
||||
else
|
||||
echo "Cache does not exist"
|
||||
fi
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -30,9 +30,14 @@ class AWS {
|
|||
if [ ! -d "cache" ]; then
|
||||
mkdir "cache"
|
||||
fi
|
||||
|
||||
ls
|
||||
cd cache
|
||||
|
||||
if [ ! -d "${branchName}" ]; then
|
||||
mkdir "${branchName}"
|
||||
fi
|
||||
cd "${branchName}"
|
||||
|
||||
|
||||
ls
|
||||
|
||||
echo ''
|
||||
|
|
@ -41,7 +46,8 @@ class AWS {
|
|||
echo $latest
|
||||
if [ -f $latest ]; then
|
||||
echo "Cache exists"
|
||||
unzip "$latest" ../${buildUid}/repo/Library/.
|
||||
cd ../../
|
||||
unzip "cache/${branchName}/"$latest ../${buildUid}/repo/Library/.
|
||||
else
|
||||
echo "Cache does not exist"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue