Last modified: 2014-08-21 13:13:01 UTC
The Jenkins job php-composer-validate is shared among repositories. The workspace thus get switched between repositories causing a full clone which can be quite slow. The macro clean the workspace which should be fine. To speed up operation when running the job on huge repositories, we should probably wipe the workspace and use a shallow git clone instead. I am not sure whether it will use the branch specifier $ZUUL_COMMIT though.
The use case is to have the job triggered for any repositories under mediawiki/extensions/ and mediawiki/skins/ as well as have it run reasonably fast when being triggered for mediawiki/core/ and other huge extensions repos.
Change 155534 had a related patch set uploaded by Hashar: php-composer-validate now use a shallow clone https://gerrit.wikimedia.org/r/155534
Change 155534 merged by jenkins-bot: php-composer-validate now use a shallow clone https://gerrit.wikimedia.org/r/155534