Skip to content

Commit

Permalink
urgent fix for downloading oracle tcks for testing
Browse files Browse the repository at this point in the history
Signed-off-by: alwin.joseph <alwin.joseph@oracle.com>
  • Loading branch information
alwin-joseph committed Feb 27, 2019
1 parent cca67c3 commit 6c65b80
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions docker/build_standalone-tcks.sh
Expand Up @@ -79,10 +79,32 @@ echo "Build Date: ${BUILD_DATE}" >> ${WORKSPACE}/version.info

if [ ! -z "$TCK_BUNDLE_BASE_URL" ]; then
mkdir -p ${WORKSPACE}/standalone-bundles/
for tck in ${TCK_LIST[@]}; do
echo "Skipping build and using pre-build binary TCK bundle: ${TCK_BUNDLE_BASE_URL}/${tck}tck"
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL} -P ${WORKSPACE}/standalone-bundles/ -A "${tck}tck*_latest.zip"
done
#temporary fix for immediate testing of tcks. Can improve.
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/cajtck-1.3_latest.zip -O ${WORKSPACE}/standalone-bundles/cajtck-1.3_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/concurrencytck-1.0_latest.zip -O ${WORKSPACE}/standalone-bundles/concurrencytck-1.0_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/connectortck-1.7_latest.zip -O ${WORKSPACE}/standalone-bundles/connectortck-1.7_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/eltck-3.0_latest.zip -O ${WORKSPACE}/standalone-bundles/eltck-3.0_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/jacctck-1.5_latest.zip -O ${WORKSPACE}/standalone-bundles/jacctck-1.5_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/jaspictck-1.1_latest.zip -O ${WORKSPACE}/standalone-bundles/jaspictck-1.1_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/jaxrpctck-1.1_latest.zip -O ${WORKSPACE}/standalone-bundles/jaxrpctck-1.1_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/jaxrstck-2.1_latest.zip -O ${WORKSPACE}/standalone-bundles/jaxrstck-2.1_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/jaxwstck-2.3_latest.zip -O ${WORKSPACE}/standalone-bundles/jaxwstck-2.3_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/jmstck-2.0_latest.zip -O ${WORKSPACE}/standalone-bundles/jmstck-2.0_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/jpatck-2.2_latest.zip -O ${WORKSPACE}/standalone-bundles/jpatck-2.2_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/jsftck-2.3_latest.zip -O ${WORKSPACE}/standalone-bundles/jsftck-2.3_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/jsonbtck-1.0_latest.zip -O ${WORKSPACE}/standalone-bundles/jsonbtck-1.0_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/jsonptck-1.1_latest.zip -O ${WORKSPACE}/standalone-bundles/jsonptck-1.1_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/jsptck-2.3_latest.zip -O ${WORKSPACE}/standalone-bundles/jsptck-2.3_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/jstltck-1.2_latest.zip -O ${WORKSPACE}/standalone-bundles/jstltck-1.2_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/jtatck-1.3_latest.zip -O ${WORKSPACE}/standalone-bundles/jtatck-1.3_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/saajtck-1.4_latest.zip -O ${WORKSPACE}/standalone-bundles/saajtck-1.4_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/securityapitck-1.0_latest.zip -O ${WORKSPACE}/standalone-bundles/securityapitck-1.0_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/servlettck-4.0_latest.zip -O ${WORKSPACE}/standalone-bundles/servlettck-4.0_latest.zip
wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL}/websockettck-1.1_latest.zip -O ${WORKSPACE}/standalone-bundles/websockettck-1.1_latest.zip
#for tck in ${TCK_LIST[@]}; do
# echo "Skipping build and using pre-build binary TCK bundle: ${TCK_BUNDLE_BASE_URL}/${tck}tck"
# wget --progress=bar:force --no-cache ${TCK_BUNDLE_BASE_URL} -P ${WORKSPACE}/standalone-bundles/ -A "${tck}tck*_latest.zip"
#done
exit 0
fi

Expand Down

0 comments on commit 6c65b80

Please sign in to comment.