Step | Arguments | Status | |
---|---|---|---|
Start of Pipeline - (4 min 31 sec in block) | |||
node - (4 min 31 sec in block) | |||
node block - (3 min 49 sec in block) | |||
stage - (17 sec in block) | Grab GF and ts.jte artifacts | ||
stage block (Grab GF and ts.jte artifacts) - (17 sec in block) | |||
org.jenkinsci.plugins.workflow.steps.PushdStep - (17 sec in block) | |||
org.jenkinsci.plugins.workflow.steps.PushdStep block - (17 sec in block) | |||
sh - (9.2 sec in self) | #!/bin/bash export fileid=1fVOjByO6IncCgLJ_MUt40KZ_extBncYH export filename=glassfish.zip ## WGET ## wget --save-cookies cookies.txt 'https://docs.google.com/uc?export=download&id='$fileid -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1/p' > confirm.txt wget -q --load-cookies cookies.txt -O $filename 'https://docs.google.com/uc?export=download&id='$fileid'&confirm='`cat confirm.txt` rm cookies.txt | ||
sh - (8.3 sec in self) | #!/bin/bash export fileid=1X4YVVWpS5vKphbKoB8OzbzQWhezVtnFa export filename=openjdk-8u41-b04-linux-x64-08_jan_2020.tar.gz ## WGET ## wget --save-cookies cookies.txt 'https://docs.google.com/uc?export=download&id='$fileid -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1/p' > confirm.txt wget -q --load-cookies cookies.txt -O $filename 'https://docs.google.com/uc?export=download&id='$fileid'&confirm='`cat confirm.txt` rm cookies.txt | ||
copyArtifacts - (47 ms in self) | TCK_ts_jte | ||
stage - (0.36 sec in block) | Grab TCK bundle | ||
stage block (Grab TCK bundle) - (0.33 sec in block) | |||
sh - (0.31 sec in self) | #!/bin/bash -ex cd ${WORKSPACE}/download wget -q ${TCK_BUNDLE_URL} -O ${deliverabledir}tck.zip | ||
stage - (3.8 sec in block) | Unzip TCK and GF | ||
stage block (Unzip TCK and GF) - (3.7 sec in block) | |||
sh - (3.7 sec in self) | #!/bin/bash -ex cd ${WORKSPACE} tar -xzf ${WORKSPACE}/download/openjdk-8u41-b04-linux-x64-08_jan_2020.tar.gz unzip -q ${WORKSPACE}/download/glassfish.zip unzip -q ${WORKSPACE}/download/${deliverabledir}tck.zip | ||
stage - (8.9 sec in block) | Grab and unzip ANT | ||
stage block (Grab and unzip ANT) - (8.9 sec in block) | |||
sh - (8.9 sec in self) | #!/bin/bash -ex cd ${WORKSPACE}/download wget -q https://archive.apache.org/dist/ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz -O ant.tar.gz tar xfz ant.tar.gz mkdir -p ${ANT_HOME} && cp -a ${WORKSPACE}/download/apache-ant-${ANT_VERSION}/. ${ANT_HOME} | ||
stage - (0.37 sec in block) | Replace ts.jte | ||
stage block (Replace ts.jte) - (0.33 sec in block) | |||
sh - (0.3 sec in self) | #!/bin/bash -ex yes | cp -rfv ${WORKSPACE}/download/ts.jte ${TS_HOME}/bin/ts.jte | ||
stage - (7.9 sec in block) | Configure TCK | ||
stage block (Configure TCK) - (7.9 sec in block) | |||
sh - (7.9 sec in self) | #!/bin/bash -ex cd ${TS_HOME}/bin ant -Dextension.dir=${WORKSPACE}/glassfish5/glassfish/domains/domain1/lib/ext -Ds1as.admin=${WORKSPACE}/glassfish5/glassfish/bin/asadmin config.vi | ||
stage - (11 sec in block) | Deploy TCK tests | ||
stage block (Deploy TCK tests) - (11 sec in block) | |||
sh - (11 sec in self) | #!/bin/bash -ex cd ${TS_HOME}/bin ant -Dimpl.vi.deploy.dir=${WORKSPACE}/glassfish5/glassfish/domains/domain1/autodeploy/ deploy.all | ||
stage - (2 min 58 sec in block) | Run TCK tests | ||
stage block (Run TCK tests) - (2 min 58 sec in block) | |||
sh - (2 min 58 sec in self) | #!/bin/bash -ex echo java -version >> ${WORKSPACE}/environment.txt java -version >> ${WORKSPACE}/environment.txt 2>&1 echo uname -a >> ${WORKSPACE}/environment.txt uname -a >> ${WORKSPACE}/environment.txt echo cat /etc/os-release >> ${WORKSPACE}/environment.txt cat /etc/os-release >> ${WORKSPACE}/environment.txt echo Downloaded TCK from ${TCK_BUNDLE_URL} >> ${WORKSPACE}/environment.txt echo SHA256 of TCK is `sha256sum ${WORKSPACE}/download/${deliverabledir}tck.zip` >> ${WORKSPACE}/environment.txt cd ${TS_HOME}/bin ant -DwebServerHome=${WORKSPACE}/glassfish5/glassfish/ run.all | tee run.log | ||
stage - (0.31 sec in block) | Create summary.txt, API, and run.log artifacts | ||
stage block (Create summary.txt, API, and run.log artifacts) - (0.3 sec in block) | |||
sh - (0.29 sec in self) | #!/bin/bash -ex cd ${TS_HOME}/bin cat run.log | sed -e '1,/Completed running/d' > summary.txt PASSED_COUNT=`head -1 summary.txt | tail -1 | sed 's/.*=\s\(.*\)/\1/'` FAILED_COUNT=`head -2 summary.txt | tail -1 | sed 's/.*=\s\(.*\)/\1/'` ERROR_COUNT=`head -3 summary.txt | tail -1 | sed 's/.*=\s\(.*\)/\1/'` echo ERROR_COUNT=${ERROR_COUNT} echo FAILED_COUNT=${FAILED_COUNT} echo PASSED_COUNT=${PASSED_COUNT} if [ "$ERROR_COUNT" != "0" ]; then exit -1; fi if [ "$FAILED_COUNT" != "0" ]; then exit -1; fi |