{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/comments/71539495","id":71539495,"diff_hunk":"@@ -73,9 +70,9 @@\n     \n     private static final Logger LOGGER = Logger.getLogger(GitHubBuildStatusNotification.class.getName());\n \n-    private static void createCommitStatus(@Nonnull GHRepository repo, @Nonnull String revision, @Nonnull GHCommitState state, @Nonnull String url, @Nonnull String message) throws IOException {\n+    private static void createCommitStatus(@Nonnull GHRepository repo, @Nonnull String revision, @Nonnull GHCommitState state, @Nonnull String url, @Nonnull String message, @Nonnull Job<?,?> job) throws IOException {\n         LOGGER.log(Level.FINE, \"{0}/commit/{1} {2} from {3}\", new Object[] {repo.getHtmlUrl(), revision, state, url});\n-        repo.createCommitStatus(revision, state, url, message, \"Jenkins\");\n+        repo.createCommitStatus(revision, state, url, message, \"Jenkins job \" + job.getName());","path":"src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubBuildStatusNotification.java","position":27,"original_position":27,"commit_id":"16e36f7fc9aaf6e416eacc77d920188f8550ba14","original_commit_id":"16e36f7fc9aaf6e416eacc77d920188f8550ba14","user":{"login":"kevin-brown","id":1991850,"avatar_url":"https://avatars.githubusercontent.com/u/1991850?v=3","gravatar_id":"","url":"https://api.github.com/users/kevin-brown","html_url":"https://github.com/kevin-brown","followers_url":"https://api.github.com/users/kevin-brown/followers","following_url":"https://api.github.com/users/kevin-brown/following{/other_user}","gists_url":"https://api.github.com/users/kevin-brown/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin-brown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin-brown/subscriptions","organizations_url":"https://api.github.com/users/kevin-brown/orgs","repos_url":"https://api.github.com/users/kevin-brown/repos","events_url":"https://api.github.com/users/kevin-brown/events{/privacy}","received_events_url":"https://api.github.com/users/kevin-brown/received_events","type":"User","site_admin":false},"body":"This causes issues right now as it's not possible to require Jenkins status checks to pass anymore without GitHub. It relies on the name being consistent across checks, which isn't possible when the check name is always changing.","created_at":"2016-07-20T14:48:46Z","updated_at":"2016-07-20T14:48:46Z","html_url":"https://github.com/jenkinsci/github-branch-source-plugin/pull/60#discussion_r71539495","pull_request_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/60","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/comments/71539495"},"html":{"href":"https://github.com/jenkinsci/github-branch-source-plugin/pull/60#discussion_r71539495"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/60","id":74149555,"html_url":"https://github.com/jenkinsci/github-branch-source-plugin/pull/60","diff_url":"https://github.com/jenkinsci/github-branch-source-plugin/pull/60.diff","patch_url":"https://github.com/jenkinsci/github-branch-source-plugin/pull/60.patch","issue_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues/60","number":60,"state":"closed","locked":false,"title":"[JENKINS-33161] Customized PR build behavior","user":{"login":"jglick","id":154109,"avatar_url":"https://avatars.githubusercontent.com/u/154109?v=3","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"body":"[JENKINS-33161](https://issues.jenkins-ci.org/browse/JENKINS-33161) and probably also fixes [JENKINS-33237](https://issues.jenkins-ci.org/browse/JENKINS-33237) by not relying on more exotic details of the GitHub API. Supersedes #36.\r\n\r\n- [X] basic structure of selection of build types\r\n- [X] fix representation of PR `SCMRevision`s\r\n- [X] run an explicit merge when requested\r\n- [X] basic UI\r\n- [x] help files\r\n- [x] full interactive testing (pending #55 this will be pretty laborious)\r\n- [x] organization folder support\r\n- [x] review indexing log appearance\r\n\r\n@reviewbybees","created_at":"2016-06-16T20:48:17Z","updated_at":"2016-07-20T14:48:46Z","closed_at":"2016-07-05T19:17:32Z","merged_at":"2016-07-05T19:17:32Z","merge_commit_sha":"c976a4ce55460377b8113b6ecf69a80e1a8c0893","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/60/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/60/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues/60/comments","statuses_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/statuses/16e36f7fc9aaf6e416eacc77d920188f8550ba14","head":{"label":"jglick:PR-repn-JENKINS-33161","ref":"PR-repn-JENKINS-33161","sha":"16e36f7fc9aaf6e416eacc77d920188f8550ba14","user":{"login":"jglick","id":154109,"avatar_url":"https://avatars.githubusercontent.com/u/154109?v=3","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"repo":{"id":43902144,"name":"github-branch-source-plugin","full_name":"jglick/github-branch-source-plugin","owner":{"login":"jglick","id":154109,"avatar_url":"https://avatars.githubusercontent.com/u/154109?v=3","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jglick/github-branch-source-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jglick/github-branch-source-plugin","forks_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/forks","keys_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/teams","hooks_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/hooks","issue_events_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/events","assignees_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/tags","blobs_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/languages","stargazers_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/stargazers","contributors_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/contributors","subscribers_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/subscribers","subscription_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/subscription","commits_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/merges","archive_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/downloads","issues_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jglick/github-branch-source-plugin/deployments","created_at":"2015-10-08T16:26:24Z","updated_at":"2016-06-27T11:07:30Z","pushed_at":"2016-07-05T19:17:44Z","git_url":"git://github.com/jglick/github-branch-source-plugin.git","ssh_url":"git@github.com:jglick/github-branch-source-plugin.git","clone_url":"https://github.com/jglick/github-branch-source-plugin.git","svn_url":"https://github.com/jglick/github-branch-source-plugin","homepage":null,"size":17,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":1,"forks":31,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"b20d0ca1d2e2c52fcd4727587e0bc9fcf205e020","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":43903637,"name":"github-branch-source-plugin","full_name":"jenkinsci/github-branch-source-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/github-branch-source-plugin","description":"","fork":true,"url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin","forks_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/deployments","created_at":"2015-10-08T16:52:19Z","updated_at":"2016-07-13T18:28:59Z","pushed_at":"2016-07-18T08:12:21Z","git_url":"git://github.com/jenkinsci/github-branch-source-plugin.git","ssh_url":"git@github.com:jenkinsci/github-branch-source-plugin.git","clone_url":"https://github.com/jenkinsci/github-branch-source-plugin.git","svn_url":"https://github.com/jenkinsci/github-branch-source-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+GitHub+Branch+Source+Plugin","size":338,"stargazers_count":12,"watchers_count":12,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":2,"forks":29,"open_issues":2,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/60"},"html":{"href":"https://github.com/jenkinsci/github-branch-source-plugin/pull/60"},"issue":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues/60"},"comments":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/statuses/16e36f7fc9aaf6e416eacc77d920188f8550ba14"}}}}
{"actor":{"display_login":"kevin-brown"}}