Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/github-plugin
  Commit: c0c83fb7cf7dda5082959a274573b926413df849
      
https://github.com/jenkinsci/github-plugin/commit/c0c83fb7cf7dda5082959a274573b926413df849
  Author: Matthieu Brouillard <matth...@brouillard.fr>
  Date:   2019-09-02 (Mon, 02 Sep 2019)

  Changed paths:
    M 
src/main/java/org/jenkinsci/plugins/github/webhook/subscriber/DefaultPushGHEventSubscriber.java

  Log Message:
  -----------
  [JENKINS-56830] alternative use of 'html_url' in payload of event

As documented in github API docs 
(https://developer.github.com/v3/repos/#response) the url field of the event 
should/could point to the API endpoint.
In the github-plugin it is expected to work on the public html url which is 
handled by the 'html_url' field of the event.
This commit thus try as before to build a GitHubRepositoryName from the 'url' 
field ; if that fails, as a fallback it also tries the 'html_url' field.
See also 
https://github.community/t5/GitHub-API-Development-and/consistency-of-repository-url-between-event-types/td-p/21209
 for some explanations.


  Commit: 73e251396ba23ef946e6b2e033713ecea81e6467
      
https://github.com/jenkinsci/github-plugin/commit/73e251396ba23ef946e6b2e033713ecea81e6467
  Author: Kanstantsin Shautsou <kanstantsin....@gmail.com>
  Date:   2019-09-17 (Tue, 17 Sep 2019)

  Changed paths:
    M 
src/main/java/org/jenkinsci/plugins/github/webhook/subscriber/DefaultPushGHEventSubscriber.java

  Log Message:
  -----------
  Merge pull request #212 from McFoggy/htmlUrl

[JENKINS-56830] alternative use of 'html_url' in payload of event


Compare: 
https://github.com/jenkinsci/github-plugin/compare/07f616d2ad3e...73e251396ba2

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/github-plugin/push/refs/heads/master/07f616-73e251%40github.com.

Reply via email to