[Ci-users] GitHub PR integration and list of whitelisted organizations

Daniel Horák

dahorak at redhat.com
Tue Mar 6 10:11:11 UTC 2018


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



More information about the CI-users mailing list