Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build.sh #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@
#set -eu

# To recover from failed builds
# rm -rf lucee*jar apache-tomcat-9.0.78.tar.gz OpenJDK11U-jre_x64_linux_hotspot_11.0.19_7.tar.gz jdk-11.0.19+7-jre lucee/tomcat9/tomcat/apache-tomcat-9.0.78 installbuilder-* /tmp/ib
# rm -rf lucee*jar apache-tomcat-9.0.89.tar.gz OpenJDK11U-jre_x64_linux_hotspot_11.0.23_9.tar.gz jdk-11.0.23+9-jre lucee/tomcat9/tomcat/apache-tomcat-9.0.89 installbuilder-* /tmp/ib

wget https://cdn.lucee.org/lucee-${LUCEE_VERSION}.jar
mv lucee-${LUCEE_VERSION}.jar lucee/lucee/lib/

wget ${TOMCAT_URL}
cd lucee/tomcat9/
tar zxf ../../apache-tomcat-9.0.78.tar.gz
tar zxf ../../apache-tomcat-9.0.89.tar.gz
cd ../..

rm apache-tomcat-9.0.78.tar.gz
rm apache-tomcat-9.0.89.tar.gz

mv lucee/tomcat9/apache-tomcat-9.0.78 lucee/tomcat9/tomcat
mv lucee/tomcat9/apache-tomcat-9.0.89 lucee/tomcat9/tomcat
rm -rf lucee/tomcat9/tomcat/webapps

cp -ar lucee/tomcat9/tomcat-lucee-conf/ lucee/tomcat9/tomcat/

wget ${JRE_URL}
tar zxf OpenJDK11U-jre_x64_linux_hotspot_11.0.19_7.tar.gz
cp -r jdk-11.0.19+7-jre/* jre/jre64-lin/jre/
rm -rf jdk-11.0.19+7-jre
tar zxf OpenJDK11U-jre_x64_linux_hotspot_11.0.23_9.tar.gz
cp -r jdk-11.0.23+9-jre/* jre/jre64-lin/jre/
rm -rf jdk-11.0.23+9-jre

wget https://releases.installbuilder.com/installbuilder/installbuilder-enterprise-23.4.0-linux-installer.run
chmod a+x ./installbuilder-enterprise-23.4.0-linux-installer.run
Expand All @@ -49,4 +49,4 @@ fi
# sudo /tmp/ib/output/lucee-${LUCEE_VERSION}-linux-x64-installer.run --mode unattended --prefix /tmp/lucee --installconn false --installmodcfml false --installiis false --startatboot false --luceepass ibtest --systemuser $USER

# Post install, make HTTP and check return code
# i.e. the You are now successfully running Lucee 5.4.1.2-SNAPSHOT on your system! banner
# i.e. the You are now successfully running Lucee 5.4.1.2-SNAPSHOT on your system! banner