
24 Apr
2017
24 Apr
'17
2:33 a.m.
See <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/2219/display/redirect?page=changes> Changes: [martindholmes] Fulfilling feature request in issue #192: adding HTML handling for ------------------------------------------ Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Building in workspace <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/TEIC/Stylesheets.git # timeout=10 Fetching upstream changes from https://github.com/TEIC/Stylesheets.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/TEIC/Stylesheets.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/dev^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/dev^{commit} # timeout=10 Checking out Revision c818924bebbde6b4e55ec3d6967191313a73026e (refs/remotes/origin/dev) > git config core.sparsecheckout # timeout=10 > git checkout -f c818924bebbde6b4e55ec3d6967191313a73026e > git rev-list 982b3574ac5941f6c3bffd5c7f2018dbf301c5f8 # timeout=10 > git tag -a -f -m Jenkins Build #2219 jenkins-Stylesheets-dev-2219 # timeout=10 [workspace] $ /bin/bash -xe /tmp/jenkins4138004509481257899.sh + make clean test deb dist (for i in css/*; do rm -f `basename $i`;done) echo "" > test~ rm -f profile1.html profile2.html profile.xml find . -name "*~" | xargs rm rm -f tei-xsl-*.zip rm -rf tei-xsl_* rm -f Documentation/stylebear Documentation/style.xml Documentation/customize.xml Documentation/teixsl.html Documentation/index.xml rm -rf release dist (cd Test; make clean) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test'> (cd ..; for i in css/*; do rm -f `basename $i`;done) rm -f test*.odd.rnc test*epub test*pdf test*rdf test*text test*.xml.docx test*.xml.odt test*.tex test*.fo *.html *.xhtml *~ dummy* test.html test3.html test4.html *aux *vrb *out *log *nav *ent *snm *toc *.end *.1 *.2 test.xsd test.zip test*.dtd test-indexes.xml test37.xml test38.xml test39.xml test40.xml rm -f test*.rnc test*.json test*.rnc test*.combined.odd test*listing* test*.tei test*.rng test*.html5 test*.processedodd *.isosch rm -f oddbyexample.* index*div*html rm -f testdrama.compiled.xml rm -f test5.odt test7.xml test18.xml test19.xml test-index.xml test7.zip test11.xml test9.docx test9.odt content.xml.odt.listing content.xml.odt test.xml.docx.core test7.docx rm -f A54031.xml dcr.result test-rtf2tei.xml test29.xml dcr.tmp xml.tmp rm -f xml.result rm -rf charts/ embeddings/ media/ _rels/ \[Content_Types\].xml rm -rf temp-dir-for-ant Pictures OEBPS META-INF mimetype files rm -f test.xlsx.xml *.result.tex *.result.pdf _slidelogo.png rm -f content.xml rm -f cocoatest*.xml make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test'> rm -rf tei-p5-xsl_* rm -rf tei-p5-xsl2_* (cd debian-tei-xsl/debian; rm -rf tei-xsl) rm -f teioo.jar rm -rf docx/ImageInfo/bin rm -f names.xml licensekey.txt runDoc.sh (for i in sciencejournal/*.html; do rm -f sciencejournal/`basename $i`;done) (for i in sciencejournal/*.xml; do rm -f sciencejournal/`basename $i`;done) BUILD Copy main XSL files test -d release/xsl/xml/tei/stylesheet || mkdir -p release/xsl/xml/tei/stylesheet/ for i in bibtex cocoa common csv docx dtd docbook epub epub3 fo html wordpress markdown html5 json latex latex nlm odd odds odt p4 pdf profiles/default rdf relaxng rnc schematron simple slides tbx tcp tite tools txt html xsd xlsx pdf verbatimxml ; do \ tar cf - $i | (cd release/xsl/xml/tei/stylesheet; tar xf - ); \ done java -jar lib/saxon9he.jar -it:main tools/getnames.xsl > names.xml BUILD Copy common files and documentation test -d release/xslcommon/xml/tei/stylesheet || mkdir -p release/xslcommon/xml/tei/stylesheet cp names.xml catalog.xml VERSION css/*.css i18n.xml release/xslcommon/xml/tei/stylesheet sh ./tools/mydch debian-tei-xsl/debian/changelog update debian changelog with 7.43.0a BUILD Run tests (cd Test; make) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test'> ../bin/teitorelaxng --odd test.odd test.rng WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test.odd to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test.rng> (tei to relaxng) using profile default [echo] Do ODD expand processing (schema ) Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 27 seconds perl -i -p -e 's/generated from ODD source.*//' test.rng xmllint --format test.rng > temp; mv temp test.rng perl -i -pe 'BEGIN{undef $/;} s/<!--\n ?Schema[^>]+>//smg' test.rng if [ 0 -ne 1 ]; \ then diff test.rng expected-results/test.rng; fi (cd ..; for i in css/*; do test -f `basename $i` || ln -s $i `basename $i`;done) BUILD: testing html java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test.xml ../html/html.xsl cssFile=../tei.css useFixedDate=true | xmllint --format - > test.html if [ 0 -ne 1 ]; \ then diff test.html expected-results/test.html; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test.html checklinks.xsl java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test.xml ../html/html.xsl cssFile=../tei.css pageLayout=Complex useFixedDate=true | xmllint --format - > test-complex.html if [ 0 -ne 1 ]; \ then diff test-complex.html expected-results/test-complex.html; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test.xml ../profiles/ota/html/to.xsl cssFile=../tei.css useFixedDate=true | xmllint --format - | perl cleanup.pl > test-ota.html if [ 0 -ne 1 ]; \ then diff test-ota.html expected-results/test-ota.html; fi ../bin/teitohtml5 test.xml test.html5 WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test.xml to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test.html5> (tei to html5) using profile default [echo] XSLT generate HTML files (language en) Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 13 seconds xmllint --encode utf-8 --format test.html5 | perl cleanup.pl > test.temp mv test.temp test.html5 if [ 0 -ne 1 ]; \ then diff test.html5 expected-results/test.html5; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test20.xml ../html/html.xsl useFixedDate=true | xmllint --format - > test20.html if [ 0 -ne 1 ]; \ then diff test20.html expected-results/test20.html; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -versionmsg:off test3.xml ../html/html.xsl useFixedDate=true| xmllint --format - > test3.html java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -versionmsg:off test4.xml ../html/html.xsl useFixedDate=true| xmllint --format - > test4.html if [ 0 -ne 1 ]; \ then diff test4.html test3.html; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test5.xml ../html/html.xsl autoBlockQuote=true useFixedDate=true | xmllint --format - > test5.xhtml if [ 0 -ne 1 ]; \ then diff test5.xhtml expected-results/test5.xhtml; fi java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar -c xhtml.rnc test5.xhtml java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test6.xml ../html/html.xsl autoBlockQuote=true useFixedDate=true | xmllint --format - > test6.html if [ 0 -ne 1 ]; \ then diff test6.html expected-results/test6.html; fi java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar -c xhtml.rnc test6.html java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test14.xml ../html/html.xsl useFixedDate=true| xmllint --format - > test14.html if [ 0 -ne 1 ]; \ then diff test14.html expected-results/test14.html; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test22.xml ../html/html.xsl useFixedDate=true| xmllint --format - > test22.html if [ 0 -ne 1 ]; \ then diff test22.html expected-results/test22.html; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test23.xml ../html/html.xsl useFixedDate=true| xmllint --format - > test23.html if [ 0 -ne 1 ]; \ then diff test23.html expected-results/test23.html; fi (mkdir files; cd files;java -Djava.awt.headless=true -jar ../../lib/saxon9he.jar ../testnotes1.xml ../../html/html.xsl splitLevel=4 useFixedDate=true STDOUT=false cssFile=../../tei.css) xmllint --format files/index.html > x ; mv x files/index.html xmllint --format files/one.html > x ; mv x files/one.html xmllint --format files/two.html > x ; mv x files/two.html xmllint --format files/three.html > x ; mv x files/three.html if [ 0 -ne 1 ]; \ then diff -r files expected-results/testnotes; fi rm -rf files (mkdir files; cd files;java -Djava.awt.headless=true -jar ../../lib/saxon9he.jar ../testnotes2.xml ../../html/html.xsl splitLevel=0 useFixedDate=true STDOUT=false cssFile=../../tei.css) xmllint --format files/index.html > x ; mv x files/index.html xmllint --format files/one.html > x ; mv x files/one.html xmllint --format files/three.html > x ; mv x files/three.html if [ 0 -ne 1 ]; \ then diff -r files expected-results/testnotes2; fi rm -rf files (mkdir files; cd files;java -Djava.awt.headless=true -jar ../../lib/saxon9he.jar ../testnotes2.xml ../../html/html.xsl splitLevel=4 useFixedDate=true STDOUT=false cssFile=../../tei.css) xmllint --format files/index.html > x ; mv x files/index.html xmllint --format files/one.html > x ; mv x files/one.html xmllint --format files/two.html > x ; mv x files/two.html xmllint --format files/three.html > x ; mv x files/three.html if [ 0 -ne 1 ]; \ then diff -r files expected-results/testnotes3; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test24.xml ../html/html.xsl useFixedDate=true | xmllint --format - > test24.html if [ 0 -ne 1 ]; \ then diff test24.html expected-results/test24.html; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test25.xml ../html/html.xsl useFixedDate=true | xmllint --format - > test25.html if [ 0 -ne 1 ]; \ then diff test25.html expected-results/test25.html; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test27.xml ../html/html.xsl useFixedDate=true cssFile=../tei.css cssSecondaryFile=../css/msdescription.css | xmllint --format - > test27.html if [ 0 -ne 1 ]; \ then diff test27.html expected-results/test27.html; fi rm -rf files java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test28.xml ../html/html.xsl splitLevel=0 STDOUT=false useFixedDate=true xmllint --format index.html > x ; mv x test28.html if [ 0 -ne 1 ]; \ then diff test28.html expected-results/test28.html; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test31.xml ../html/html.xsl cssFile="" cssInlineFiles=../tei.css useFixedDate=true | xmllint --format - > test31.html if [ 0 -ne 1 ]; \ then diff test31.html expected-results/test31.html; fi 976,979d975 < span.distinct{ < font-style: italic; < } < make[1]: *** [test-to-html] Error 1 make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test'> make: *** [test] Error 2 Build step 'Execute shell' marked build as failure Archiving artifacts