What feature do you want to see added?
I make extensive use of GitHub apps. We use it for integrating pretty much all things Jenkins even glue code.
It would be nice if internal-only (and optionally 3rd party) GitHub apps are able to trigger builds. e.g. allowing user configurable AppIDs when determining authorization for comment triggers.
Example bot comment
Enabling all logging for the following classes allowed me to trace confirming GitHub sends webhooks and Jenkins accepts webhooks (but does not trigger builds).
org.jenkinsci.plugins.github.webhook.GHEventHeader$PayloadHandler
org.jenkinsci.plugins.github.webhook.GHEventPayload$PayloadHandler
org.jenkinsci.plugins.github.webhook.GHWebhookSignature
org.jenkinsci.plugins.pipeline.github.GitHubHelper
The webhook payload replaces "triggered by user" information with instead the following payload information.
"comment": {
...redacted
"user": {
"login": "jenkins-ng-prod[bot]",
...redacted
"type": "Bot",
"user_view_type": "public",
"site_admin": false
},
...redacted
"body": "run only required",
"author_association": "NONE",
....
...
"performed_via_github_app": {
"id": redacted,
"client_id": "redacted",
"slug": "jenkins-ng-prod",
"node_id": "redacted",
"owner": {
"login": "your-github-organization",
"id": redacted,
"node_id": "redacted=",
"avatar_url": "redacted",
...redacted
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
...
Upstream changes
It's possible that GitHub branch source plugin is stopping the triggering I've not completed my investigation.
Are you interested in contributing this feature?
No capacity at this time though I am interested in contributing code for this feature. Let's use this issue to brainstorm how this could be user-configurable.
What feature do you want to see added?
I make extensive use of GitHub apps. We use it for integrating pretty much all things Jenkins even glue code.
It would be nice if internal-only (and optionally 3rd party) GitHub apps are able to trigger builds. e.g. allowing user configurable AppIDs when determining authorization for comment triggers.
Example bot comment
Enabling all logging for the following classes allowed me to trace confirming GitHub sends webhooks and Jenkins accepts webhooks (but does not trigger builds).
org.jenkinsci.plugins.github.webhook.GHEventHeader$PayloadHandlerorg.jenkinsci.plugins.github.webhook.GHEventPayload$PayloadHandlerorg.jenkinsci.plugins.github.webhook.GHWebhookSignatureorg.jenkinsci.plugins.pipeline.github.GitHubHelperThe webhook payload replaces "triggered by user" information with instead the following payload information.
Upstream changes
It's possible that GitHub branch source plugin is stopping the triggering I've not completed my investigation.
Are you interested in contributing this feature?
No capacity at this time though I am interested in contributing code for this feature. Let's use this issue to brainstorm how this could be user-configurable.