Replies: 1 comment
-
Hi @bansp! Sorry, I did not even notice this posting until @HelenaSabel gave a poke. (Thanks @HelenaSabel!) I cannot speak about what to do within the Jenkins environment, as I have not ever done so myself. (But probably will in a month or two — we are getting our own CI server! Yay!) But here are some hints you may find helpful, not necessarily in an intelligent order.
In case it is remotely helpful, what I typically do outside the Jenkins environment is either
or, in order to execute within the TEIC “jenkins” Docker container
I have tried adding |
Beta Was this translation helpful? Give feedback.
-
Hi all,
This is directed at experts in the intricacies of the options provided by the Guidelines Makefile and possibly also Jenkins.
For the purpose of testing proposals developed within the LingSIG, I would love to identify the options of make that would give us:
P5/release/xml/tei/odd/p5.nvdl
, in order to substitute it in the PIs that identify schemas in the parts of the Guidelines that we happen to be working onAt the same time, I would like to avoid:
a. generating Guidelines other than "en"
b. all the zipping -- we don't need archives, we just need the artefacts (and only for "en")
Currently, I use the following for Jenkins:
make VCS=git INJENKINS=true XSL=${JENKINS_HOME}/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet clean dist
-- and that produces the .nvdl and the Guidelines, along with a heap of stuff that I don't need at all, due to which the last Jenkins run took over 1.5h... that's a bit mucho, I'd prefer something like, errm, 5 minutes, which should in theory be enough for just (1) and (2) above, without the (a) and (b).I have tried a few combinations such as, e.g.,
clean validate exemplars test html-web
, hoping to see the NVDL, but I would only get the Guidelines out of that, and sometimes even only the "en" Guidelines. But we need the NVDL badly, because without it, we can't work on a proposal for a new attribute class.I have also tried invoking the
dist
sub-targets separately (so, e.g.,dist-source dist-schema
), but it looks likedist
is an all or nothing target, or at least I don't know how to successfully invoke just some of its targets. And it looks like there is no negotiating withdist
wrt archives -- they are produced automatically (and delay the processing hugely).Any hints you could push my way, please?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions