Hi all,
we[1] have jobs triggered by every new or updated PR, configured accordingly to [2] - Mode 2.
The jobs are triggered properly for people listed in the "Admin list" or "White list" section, but not for people from "List of organizations. Their members will be whitelisted.".
The relevant part of JJB configuration: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ triggers: - github-pull-request: admin-list: - dahorak org-list: - Tendrl allow-whitelist-orgs-as-admins: false trigger-phrase: '.*run build.*' skip-build-phrase: 'no build' github-hooks: true cancel-builds-on-update: true status-context: 'CentOS CI - package build' status-add-test-results: false ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Is there any other configuration needed, to enable the "List of organizations" functionality?
Also the "cancel-builds-on-update: true" configuration seems not to work, but I didn't debug it more.
[1] https://github.com/Tendrl [2] https://wiki.centos.org/QaWiki/CI/GithubIntegration
Thanks, Daniel
Ok, I'll (partially) answer it myself. It works fine for people with "public" membership in the organization.
I suspect, that the proper solution for this is to invite/add *centos-ci* user to the respective organization, but I'm not the owner of our organization, so I'm not able to check it directly.
Regards, Daniel
On 03/06/18 11:11, Daniel Horák wrote:
Hi all,
we[1] have jobs triggered by every new or updated PR, configured accordingly to [2] - Mode 2.
The jobs are triggered properly for people listed in the "Admin list" or "White list" section, but not for people from "List of organizations. Their members will be whitelisted.".
The relevant part of JJB configuration: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ triggers: - github-pull-request: admin-list: - dahorak org-list: - Tendrl allow-whitelist-orgs-as-admins: false trigger-phrase: '.*run build.*' skip-build-phrase: 'no build' github-hooks: true cancel-builds-on-update: true status-context: 'CentOS CI - package build' status-add-test-results: false ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Is there any other configuration needed, to enable the "List of organizations" functionality?
Also the "cancel-builds-on-update: true" configuration seems not to work, but I didn't debug it more.
[1] https://github.com/Tendrl [2] https://wiki.centos.org/QaWiki/CI/GithubIntegration
Thanks, Daniel _______________________________________________ Ci-users mailing list Ci-users@centos.org https://lists.centos.org/mailman/listinfo/ci-users