cleanup
parent
8b23575127
commit
5157f3d761
|
|
@ -263,7 +263,7 @@ class AWS {
|
||||||
libDir="/${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${buildParameters.projectPath}/Library"
|
libDir="/${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${buildParameters.projectPath}/Library"
|
||||||
if [ -d "$libDir" ]; then
|
if [ -d "$libDir" ]; then
|
||||||
echo "Library folder already present, make sure you setup .gitignore correctly (cleaning out Library folder for this build)!"
|
echo "Library folder already present, make sure you setup .gitignore correctly (cleaning out Library folder for this build)!"
|
||||||
rm -r $libDir
|
rm -r "$libDir"
|
||||||
fi
|
fi
|
||||||
echo "Checking cache"
|
echo "Checking cache"
|
||||||
# Restore cache
|
# Restore cache
|
||||||
|
|
@ -271,7 +271,7 @@ class AWS {
|
||||||
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"
|
||||||
mkdir $libDir
|
mkdir "$libDir"
|
||||||
unzip -q "$latest" -d /${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${buildParameters.projectPath}/Library/.
|
unzip -q "$latest" -d /${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${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
|
|
@ -51,7 +51,7 @@ class AWS {
|
||||||
libDir="/${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${buildParameters.projectPath}/Library"
|
libDir="/${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${buildParameters.projectPath}/Library"
|
||||||
if [ -d "$libDir" ]; then
|
if [ -d "$libDir" ]; then
|
||||||
echo "Library folder already present, make sure you setup .gitignore correctly (cleaning out Library folder for this build)!"
|
echo "Library folder already present, make sure you setup .gitignore correctly (cleaning out Library folder for this build)!"
|
||||||
rm -r $libDir
|
rm -r "$libDir"
|
||||||
fi
|
fi
|
||||||
echo "Checking cache"
|
echo "Checking cache"
|
||||||
# Restore cache
|
# Restore cache
|
||||||
|
|
@ -59,7 +59,7 @@ class AWS {
|
||||||
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"
|
||||||
mkdir $libDir
|
mkdir "$libDir"
|
||||||
unzip -q "$latest" -d /${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${buildParameters.projectPath}/Library/.
|
unzip -q "$latest" -d /${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${buildParameters.projectPath}/Library/.
|
||||||
else
|
else
|
||||||
echo "Cache does not exist"
|
echo "Cache does not exist"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue