{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/pulls/comments/63353088","id":63353088,"diff_hunk":"@@ -0,0 +1,37 @@\n+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+<!--\n+The MIT License\n+\n+Copyright 2016 CloudBees, Inc.\n+\n+Permission is hereby granted, free of charge, to any person obtaining a copy\n+of this software and associated documentation files (the \"Software\"), to deal\n+in the Software without restriction, including without limitation the rights\n+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+copies of the Software, and to permit persons to whom the Software is\n+furnished to do so, subject to the following conditions:\n+\n+The above copyright notice and this permission notice shall be included in\n+all copies or substantial portions of the Software.\n+\n+THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n+THE SOFTWARE.\n+-->\n+\n+<?jelly escape-by-default='true'?>\n+<j:jelly xmlns:j=\"jelly:core\" xmlns:f=\"/lib/form\">\n+    <j:set var=\"url\" value=\"${it.indexingUrl}\"/>\n+    <j:choose>\n+        <j:when test=\"${url != null}\">\n+            <a href=\"${rootURL}/${url}console\">Branch indexing</a>\n+        </j:when>\n+        <j:otherwise>\n+            Branch indexing","path":"src/main/resources/jenkins/branch/BranchIndexingCause/description.jelly","position":34,"original_position":34,"commit_id":"7c0232612cca43dfd33506170db9b4b8840ce130","original_commit_id":"7c0232612cca43dfd33506170db9b4b8840ce130","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":"> From the Javadoc in `Cause`...\r\n\r\nRead a little longer! :-)\r\n\r\n> <h2>Views</h2>\r\n> <dl>\r\n> <dt>description.jelly\r\n> <dd>Renders the cause to HTML. By default, it puts the short description.\r\n> </dl>\r\n\r\nSo…\r\n\r\n> I don't still know who Jelly file includes to this one.\r\n\r\n`CauseAction/summary.jelly`","created_at":"2016-05-16T13:38:13Z","updated_at":"2016-05-16T13:38:13Z","html_url":"https://github.com/jenkinsci/branch-api-plugin/pull/42#discussion_r63353088","pull_request_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/branch-api-plugin/pulls/comments/63353088"},"html":{"href":"https://github.com/jenkinsci/branch-api-plugin/pull/42#discussion_r63353088"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/branch-api-plugin/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/pulls/42","id":69850026,"html_url":"https://github.com/jenkinsci/branch-api-plugin/pull/42","diff_url":"https://github.com/jenkinsci/branch-api-plugin/pull/42.diff","patch_url":"https://github.com/jenkinsci/branch-api-plugin/pull/42.patch","issue_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/issues/42","number":42,"state":"closed","locked":false,"title":"Switched from SCMTrigger.SCMTriggerCause to BranchIndexingCause","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":"`SCMTriggerCause` is not really appropriate for multibranch projects. For example, it tries to save a polling log, which in fact has bogus text. And the hyperlink is not useful.\r\n\r\n@reviewbybees","created_at":"2016-05-12T14:48:57Z","updated_at":"2016-05-16T13:38:13Z","closed_at":"2016-05-13T18:30:15Z","merged_at":"2016-05-13T18:30:15Z","merge_commit_sha":"0400b7dbb8dd87853b4b34ed8fa71a67b09e6b80","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/pulls/42/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/pulls/42/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/issues/42/comments","statuses_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/statuses/7c0232612cca43dfd33506170db9b4b8840ce130","head":{"label":"jglick:BranchIndexingCause","ref":"BranchIndexingCause","sha":"7c0232612cca43dfd33506170db9b4b8840ce130","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":40016113,"name":"branch-api-plugin","full_name":"jglick/branch-api-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/branch-api-plugin","description":"","fork":true,"url":"https://api.github.com/repos/jglick/branch-api-plugin","forks_url":"https://api.github.com/repos/jglick/branch-api-plugin/forks","keys_url":"https://api.github.com/repos/jglick/branch-api-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jglick/branch-api-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jglick/branch-api-plugin/teams","hooks_url":"https://api.github.com/repos/jglick/branch-api-plugin/hooks","issue_events_url":"https://api.github.com/repos/jglick/branch-api-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jglick/branch-api-plugin/events","assignees_url":"https://api.github.com/repos/jglick/branch-api-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jglick/branch-api-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jglick/branch-api-plugin/tags","blobs_url":"https://api.github.com/repos/jglick/branch-api-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jglick/branch-api-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jglick/branch-api-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jglick/branch-api-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jglick/branch-api-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jglick/branch-api-plugin/languages","stargazers_url":"https://api.github.com/repos/jglick/branch-api-plugin/stargazers","contributors_url":"https://api.github.com/repos/jglick/branch-api-plugin/contributors","subscribers_url":"https://api.github.com/repos/jglick/branch-api-plugin/subscribers","subscription_url":"https://api.github.com/repos/jglick/branch-api-plugin/subscription","commits_url":"https://api.github.com/repos/jglick/branch-api-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jglick/branch-api-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jglick/branch-api-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jglick/branch-api-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jglick/branch-api-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jglick/branch-api-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jglick/branch-api-plugin/merges","archive_url":"https://api.github.com/repos/jglick/branch-api-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jglick/branch-api-plugin/downloads","issues_url":"https://api.github.com/repos/jglick/branch-api-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jglick/branch-api-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jglick/branch-api-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jglick/branch-api-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jglick/branch-api-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jglick/branch-api-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jglick/branch-api-plugin/deployments","created_at":"2015-07-31T17:13:30Z","updated_at":"2015-07-31T17:13:30Z","pushed_at":"2016-05-13T23:19:36Z","git_url":"git://github.com/jglick/branch-api-plugin.git","ssh_url":"git@github.com:jglick/branch-api-plugin.git","clone_url":"https://github.com/jglick/branch-api-plugin.git","svn_url":"https://github.com/jglick/branch-api-plugin","homepage":"","size":341,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"a8f94df35aa6969994903474941b0dd6057dfdd4","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":12878218,"name":"branch-api-plugin","full_name":"jenkinsci/branch-api-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/branch-api-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/branch-api-plugin","forks_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/branch-api-plugin/deployments","created_at":"2013-09-16T20:39:44Z","updated_at":"2016-03-19T15:49:14Z","pushed_at":"2016-05-13T23:24:51Z","git_url":"git://github.com/jenkinsci/branch-api-plugin.git","ssh_url":"git@github.com:jenkinsci/branch-api-plugin.git","clone_url":"https://github.com/jenkinsci/branch-api-plugin.git","svn_url":"https://github.com/jenkinsci/branch-api-plugin","homepage":"","size":352,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":4,"forks":17,"open_issues":4,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/branch-api-plugin/pulls/42"},"html":{"href":"https://github.com/jenkinsci/branch-api-plugin/pull/42"},"issue":{"href":"https://api.github.com/repos/jenkinsci/branch-api-plugin/issues/42"},"comments":{"href":"https://api.github.com/repos/jenkinsci/branch-api-plugin/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/branch-api-plugin/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/branch-api-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/branch-api-plugin/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/branch-api-plugin/statuses/7c0232612cca43dfd33506170db9b4b8840ce130"}}}}