[QA] Pair programming with Zeljko - Friday - 4rth July 2014

Vikas Yaligar vikasyaligar.it at gmail.com
Wed Jul 9 04:07:09 UTC 2014


Hello,

Last Friday we had Antoine joining us for the pair programming, as we
needed some help in creating jenkins job for the language screenshots.

* As initially Zeljko and me had used the existing template, but with that
we were only able to run only 1 language in single job. Hence Antoine
suggested us to make a new template.

* We used Matrix project plugin[1], where we can run multiple jobs with few
environment variables(it can be anything in general, if I am not wrong)
getting changed every job.

* We had to add project-type as matrix in job template and axis where we
specified all language code, for which we need to run these tests. [2]

* Then we modified the macro[3] by adding CUCUMBER_EXTRA_PARAMETERS which
stores "--tags @language-screenshot" if LANGUAGE_SCREENSHOT_CODE is set.

* We have run it in Wikimedia integration[4] and one of the awesome things
I have noticed is it runs all(currently 3) of them parallel. I am
interesting to see what happens when I run it for more languages.

Thank you Zeljko for pairing with me :)
-
[1]: https://wiki.jenkins-ci.org/display/JENKINS/Matrix+Project+Plugin

[2]: https://gerrit.wikimedia.org/r/#/c/144135/9/job_template.yaml,cm

[3]: https://gerrit.wikimedia.org/r/#/c/144135/9/macro.yaml,cm

[4]:
https://integration.wikimedia.org/ci/view/BrowserTests/job/browsertests-VisualEditor-language-screenshot-linux-firefox-sauce/


Regards
-- 
Vikas S Yaligar
(9481543789)
IT Department
NITK Surathkal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20140709/bbc28b59/attachment.html>


More information about the QA mailing list