30 Apr
2018
30 Apr
'18
12:37 p.m.
See <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/2304/display/redirect?page=changes>
Changes:
[stadlerpeter] Minor changes for easier use with tei-publisher (#320)
------------------------------------------
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 2dcb2bc848a09789267fa4ef704c472072eb9046 (refs/remotes/origin/dev)
> git config core.sparsecheckout # timeout=10
> git checkout -f 2dcb2bc848a09789267fa4ef704c472072eb9046
Commit message: "Minor changes for easier use with tei-publisher (#320)"
> git rev-list --no-walk b2d9594eaadf9812138692042310232bf8944b72 # timeout=10
> git tag -a -f -m Jenkins Build #2304 jenkins-Stylesheets-dev-2304 # timeout=10
[workspace] $ /bin/bash -xe /tmp/jenkins3441353819833105199.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 test11a.xml test9.docx test9.odt content.xml.odt.listing content.xml.odt test.xml.docx.core test7.docx hyperlinktest.xml
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
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: 15 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: 6 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
java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test32.xml ../html/html.xsl cssFile="" cssInlineFiles=../tei.css useFixedDate=true | xmllint --format - > test32.html
if [ 0 -ne 1 ]; \
then diff test32.html expected-results/test32.html; fi
BUILD: testing p4top5
java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test17.tei test17.xml ../profiles/default/p4/from.xsl
if [ 0 -ne 1 ]; \
then diff test17.tei expected-results/test17.tei; fi
java -Djava.awt.headless=true -jar ../lib/saxon9he.jar A54031.tcp ../tcp/tcp2tei.xsl | xmllint --format - > A54031.xml
if [ 0 -ne 1 ]; \
then diff A54031.xml expected-results/A54031.xml; fi
BUILD: testing oddity
../bin/teitohtml5 --summaryDoc --odd test.odd test.odd.html
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.odd.html> (tei to html5) using profile default
[echo] Do ODD expand processing and conversion to TEI Lite (schema )
Warning: XML resolver not found; external catalogs will be ignored
Warning: XML resolver not found; external catalogs will be ignored
[echo] XSLT generate HTML files (language en)
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 17 seconds
xmllint --encode utf-8 --format test.odd.html | perl cleanup.pl> test.temp ; mv test.temp test.odd.html
if [ 0 -ne 1 ]; \
then diff test.odd.html expected-results/test.odd.html; fi
../bin/teitoodd test.odd test.processedodd
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.processedodd> (tei to odd) using profile default
[echo] Do ODD expand processing (schema )
BUILD SUCCESSFUL
Total time: 9 seconds
java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test.processedodd ../odds/extract-isosch.xsl > test.isosch
perl -i -p -e 's/generated .* by /generated by /' test.isosch
if [ 0 -ne 1 ]; \
then diff test.isosch expected-results/test.isosch; fi
../bin/teitornc test21.odd test21.odd.rnc
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test21.odd to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test21.odd.rnc> (tei to rnc) using profile default
[echo] Do ODD expand processing (schema )
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 15 seconds
perl -p -i -e 's/generated from ODD source.*//' test21.odd.rnc
perl -i -pe 'BEGIN{undef $/;} s/# ?Schema[^#]+#[^#]+#[^#]+#[^#]+#\n//smg' test21.odd.rnc
if [ 0 -ne 1 ]; \
then diff test21.odd.rnc expected-results/test21.odd.rnc; fi
../bin/teitornc test15.odd test15.odd.rnc
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test15.odd to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test15.odd.rnc> (tei to rnc) using profile default
[echo] Do ODD expand processing (schema )
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 14 seconds
perl -p -i -e 's/generated from ODD source.*//' test15.odd.rnc
perl -i -pe 'BEGIN{undef $/;} s/# ?Schema[^#]+#[^#]+#[^#]+#[^#]+#\n//smg' test15.odd.rnc
if [ 0 -ne 1 ]; \
then diff test15.odd.rnc expected-results/test15.odd.rnc; fi
../bin/teitohtml5 --summaryDoc --lang=es --profile=tei --odd test15.odd test15.odd.html
WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/.
Convert test15.odd to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test15.odd.html> (tei to html5) using profile tei
[echo] Do ODD expand processing and conversion to TEI Lite (schema )
Warning: XML resolver not found; external catalogs will be ignored
Warning: XML resolver not found; external catalogs will be ignored
[echo] XSLT generate HTML files (language es)
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 17 seconds
xmllint --encode utf-8 --format test15.odd.html | perl cleanup.pl> test.temp ; mv test.temp test15.odd.html
if [ 0 -ne 1 ]; \
then diff test15.odd.html expected-results/test15.odd.html; fi
java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -it:main -xsl:../tools/oddbyexample.xsl corpus=`pwd`/bare | sed 's/<p>Derived from.*/<p\/>/' > oddbyexample.odd
if [ 0 -ne 1 ]; \
then diff oddbyexample.odd expected-results/oddbyexample.odd; fi
6d5
< <title type="short">oddbyexample</title>
make[1]: *** [test-oddity] 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