Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-spec-project-leads] Nice summary.txt header

That's perfect, Bill, thank you!


-- 
David Blevins
http://twitter.com/dblevins
http://www.tomitribe.com


On Aug 12, 2019, at 3:06 PM, Bill Shannon <bill.shannon@xxxxxxxxxx> wrote:

And from the standalone TCK build job:
cd standalone-bundles
for tck_bundle in *.zip
do
  scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null $tck_bundle genie.jakartaee-tck@xxxxxxxxxxxxxxxxx:/home/data/httpd/download.eclipse.org/ee4j/jakartaee-tck/jakartaee8-eftl/staged
  tckname=`ls "$tck_bundle" | rev | cut -c5- | rev`
  rm -rf $WORKSPACE/$tckname-tckinfo.txt
  touch $WORKSPACE/$tckname-tckinfo.txt
  export NAME=$tck_bundle
  echo '***********************************************************************************' >> $WORKSPACE/$tckname-tckinfo.txt
  echo '***                        TCK bundle information                               ***' >> $WORKSPACE/$tckname-tckinfo.txt
  echo "*** Name:       ${NAME}                                     ***" >> $WORKSPACE/$tckname-tckinfo.txt
  echo "*** Bundle Copied to URL:    ${BUNDLE_URL}/${NAME} ***"  >> $WORKSPACE/$tckname-tckinfo.txt
  echo '*** Date and size: '`stat -c "date: %y, size(b): %s" ${NAME}`'        ***'>> $WORKSPACE/$tckname-tckinfo.txt
  echo "*** SHA256SUM: "`sha256sum ${NAME} | awk '{print $1}'`' ***' >> $WORKSPACE/$tckname-tckinfo.txt
  echo '***                                                                             ***' >> $WORKSPACE/$tckname-tckinfo.txt
  echo '***********************************************************************************' >> $WORKSPACE/$tckname-tckinfo.txt
  scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null $WORKSPACE/$tckname-tckinfo.txt genie.jakartaee-tck@xxxxxxxxxxxxxxxxx:/home/data/httpd/download.eclipse.org/ee4j/jakartaee-tck/jakartaee8-eftl/staged
done
Hopefully that's enough information to replicate it if you want to.  :-)


Bill Shannon wrote on 8/12/19 2:30 PM:
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).


Can you do a gist.github.com of that script?

-- 
David Blevins
310-633-3852


_______________________________________________
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

_______________________________________________
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://www.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads


Back to the top