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

Tue Mar 6 10:11:11 UTC 2018
Daniel Horák <dahorak at redhat.com>

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:
       - github-pull-request:
             - dahorak
             - 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