Last modified: 2012-11-20 07:54:08 UTC
The ant script is using a local git clone which is really slow when using mediawiki/core. Since we dont really care about the whole history, we could just update the shared repository and take a snapshot of whatever revision we want then use that in the builddir. Something like, from git-archive man page: git archive --remote=/var/lib/jenkins/git/mediawiki/core master | (cd /dest/path && tar xf - ) That would make the whole cloning really faster.
I have implemented that idea with the new macro <git-snapshot /> https://gerrit.wikimedia.org/r/#/c/21821/
Used that for the Ext-TitleBlacklist job. Still need to convert the Wikidata job.
Not a high priority. Most jobs are already using git archive. It is more about migrating the Mediawiki-GIT-Fetching job.
Will magically fix itself when we switch to Zuul.
To elaborate, Zuul create a new reference made of master + the change(s) and make that available to Jenkins. Jenkins simply fetch that reference in its workspace.
Fixed with Zuul