Closed Lighter100 closed 3 years ago
More information from @Lighter100
I will look into it. Sometime back I have noted this intermittent issue and identified the changes. As we are using WebLogic base image, we no need to download JDK or weblogic-deploy-tool.
#Function to create Admin Only Domain
function create_adminSetup()
{
echo "Creating Admin Setup"
echo "Creating domain path $DOMAIN_PATH"
echo "Downloading weblogic-deploy-tool"
sudo mkdir -p $DOMAIN_PATH
sudo rm -rf $DOMAIN_PATH/*
cd $DOMAIN_PATH
wget -q $WEBLOGIC_DEPLOY_TOOL
if [[ $? != 0 ]]; then
echo "Error : Downloading weblogic-deploy-tool failed"
exit 1
fi
sudo unzip -o weblogic-deploy.zip -d $DOMAIN_PATH
Looks like this is still downloading the deployment tool.
Yes, I have done changes and will create PR for the same.