That was Maxims script. Thanks to him.
I changed it to as below to get the sha256sum & file size
for the files directly from the eclipse location(using ssh)
without having them downloaded. But this requires
genie.jakartaee-tck which can ssh to
download.eclipse.org/ee4j/jakartaee-tck.
export
BUNDLE_URL="download.eclipse.org/ee4j/jakartaee-tck/jakartaee8-eftl/promoted
export NAME=$BUNDLE_FILE
echo
'******************************************************************'
>> $WORKSPACE/tckinfo.txt
echo '*** TCK bundle
information ***' >>
$WORKSPACE/tckinfo.txt
echo "*** Name:
${NAME} ***" >>
$WORKSPACE/tckinfo.txt
echo "*** Download URL: ${BUNDLE_URL}/${NAME} ***"
>> $WORKSPACE/tckinfo.txt
echo "*** Size(b): "`ssh genie.jakartaee-tck@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
wc -c /home/data/httpd/${BUNDLE_URL}/${NAME} | awk '{print
$1}'`' ***' >> $WORKSPACE/tckinfo.txt
echo "*** SHA256SUM: "`ssh genie.jakartaee-tck@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
sha256sum /home/data/httpd/${BUNDLE_URL}/${NAME} | awk '{print
$1}'`' ***' >> $WORKSPACE/tckinfo.txt
echo
'***
***' >> $WORKSPACE/tckinfo.txt
echo
'*********************************************************'
>> $WORKSPACE/tckinfo.txt
Regards,
Alwin
That was done by our TCK folks; I believe Alwin added it to our
TCK build job. You can see that in the *.tckinfo.txt files here.
I believe the relevant script from the job configuration is:
rm -rf $WORKSPACE/eftl-jakartaeetckinfo.txt
touch $WORKSPACE/eftl-jakartaeetckinfo.txt
export BUNDLE_URL="http://download.eclipse.org/ee4j/jakartaee-tck/jakartaee8-eftl/staged"
for tck_bundle in *tck*.zip
do
export NAME=$tck_bundle
echo '***********************************************************************************' >> $WORKSPACE/eftl-jakartaeetckinfo.txt
echo '*** TCK bundle information ***' >> $WORKSPACE/eftl-jakartaeetckinfo.txt
echo "*** Name: ${NAME} ***" >> $WORKSPACE/eftl-jakartaeetckinfo.txt
echo "*** Bundle Copied to URL: ${BUNDLE_URL}/${NAME} ***" >> $WORKSPACE/eftl-jakartaeetckinfo.txt
echo '*** Date and size: '`stat -c "date: %y, size(b): %s" ${NAME}`' ***'>> $WORKSPACE/eftl-jakartaeetckinfo.txt
echo "*** SHA256SUM: "`sha256sum ${NAME} | awk '{print $1}'`' ***' >> $WORKSPACE/eftl-jakartaeetckinfo.txt
echo '*** ***' >> $WORKSPACE/eftl-jakartaeetckinfo.txt
echo '***********************************************************************************' >> $WORKSPACE/eftl-jakartaeetckinfo.txt
done
David Blevins wrote on 8/12/19 2:12
PM:
Dmitry, you put a great header on the TCK results of this build
(or someone did).
_______________________________________________
jakartaee-spec-project-leads mailing list
jakartaee-spec-project-leads@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads
_______________________________________________
jakartaee-spec-project-leads mailing list
jakartaee-spec-project-leads@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads