Page MenuHomePhabricator

Jenkins jobs not running after pushing to gerrit for Jpita user
Closed, ResolvedPublic

Description

Need some more permissions after T230916 so Jenkins starts a job build after pushing a patch set.
I've just pushed several PS to this patch https://gerrit.wikimedia.org/r/c/mediawiki/core/+/530914 and no jenkins jobs are running.

Event Timeline

When a new patchset is proposed in Gerrit, the CI jobs are not triggered by default. You have to be manually added to a list of allowed users.

The whitelist is in the repository https://gerrit.wikimedia.org/r/integration/config.git in the file zuul/layout.yaml there is a long list of emails. @Jpita Gerrit account emails has to be added to it.

Then as usual, review the patch and once merged reload zuul (fab deploy_zuul).

Thanks, now I remember that I've done it before. 😅

The problem was that @Jpita's gerrit account was linked only to his gmail e-mail. As soon as he's added his wikimedia e-mail to gerrit jenkins jobs are triggered. Tested with recheck at 530914.

I've prepared patch for zuul/layout.yaml but it was not needed after all.

@wikimedia.org emails are whitelisted, I guess since most employees of the foundation do use their work email in Gerrit.