A partial archive of https://discourse-mediawiki.wmflabs.org as of Saturday May 21, 2022.

Setting up local jenkins-bot server

JHunterHobbs

I would like to test changes before I submit to Gerrit on the config/tests that Jenkins-bot performs. How can I set up a local Jenkins server that mirrors the one on Gerrit?

Thanks in advance.

Tgr

That would be very complicated, but 99% of the time Jenkins just runs composer test and/or npm test which you can do locally (after running composer install / npm install). See Continuous integration/Entry points for details, although it’s not written very accessibly.

Running MediaWiki extension PHPUnit tests is a little more complicated and has its own manual.