{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/pulls/comments/63226868","id":63226868,"diff_hunk":"@@ -0,0 +1,140 @@\n+package org.jenkinsci.plugins.github.pullrequest.trigger;\n+\n+import hudson.matrix.MatrixProject;\n+import hudson.model.FreeStyleProject;\n+import hudson.model.Job;\n+import hudson.model.Queue;\n+import hudson.model.TopLevelItem;\n+import hudson.security.ACL;\n+import hudson.security.GlobalMatrixAuthorizationStrategy;\n+import jenkins.model.Jenkins;\n+import org.hamcrest.collection.IsArrayWithSize;\n+import org.jenkinsci.plugins.github.pullrequest.GitHubPRTrigger;\n+import org.jenkinsci.plugins.github.pullrequest.GitHubPRTriggerMode;\n+import org.jenkinsci.plugins.workflow.job.WorkflowJob;\n+import org.junit.Test;\n+import org.jvnet.hudson.test.MockFolder;\n+\n+import static org.hamcrest.Matchers.arrayWithSize;\n+import static org.hamcrest.core.Is.is;\n+import static org.junit.Assert.assertThat;\n+\n+/**\n+ * @author Kanstantsin Shautsou\n+ */\n+public class CancelQueuedJobRunnerForCauseTest extends JobRunnerForCauseTest {\n+\n+    @Test\n+    public void testCancelQueuedFreestyleProject() throws Exception {\n+        cancelQueued(FreeStyleProject.class);\n+    }\n+\n+    @Test\n+    public void testCancelQueuedWorkflowJob() throws Exception {\n+        cancelQueued(WorkflowJob.class);\n+    }\n+\n+    @Test\n+    public void testCancelQueuedMatrixProject() throws Exception {\n+        cancelQueued(MatrixProject.class);\n+    }\n+\n+    private <T extends TopLevelItem> void cancelQueued(Class<T> tClass) throws Exception {\n+        Jenkins jenkins = j.getInstance();\n+\n+        GlobalMatrixAuthorizationStrategy matrixAuth = new GlobalMatrixAuthorizationStrategy();\n+        matrixAuth.add(Jenkins.ADMINISTER, \"User\");\n+        jenkins.setAuthorizationStrategy(matrixAuth);\n+\n+        MockFolder folder = j.createFolder(\"folder\");\n+\n+        Job job1 = (Job) folder.createProject(tClass, \"project1\");\n+        job1.setDisplayName(\"project1 display name\");\n+\n+        configRoundTripUnsecure(job1);\n+\n+        job1.save();\n+\n+        final GitHubPRTrigger gitHubPRTrigger1 = new GitHubPRTrigger(\"\", GitHubPRTriggerMode.HEAVY_HOOKS, null);\n+        gitHubPRTrigger1.setCancelQueued(true);\n+        gitHubPRTrigger1.start(job1, true); // to have working polling log files\n+        final JobRunnerForCause job1RunnerForCause = new JobRunnerForCause(job1, gitHubPRTrigger1);\n+\n+        schedule(job1, 10, \"cause1_1\", 10000);\n+\n+        // two PR for one project in queue\n+        schedule(job1, 10, \"cause1_2\", 10000);\n+\n+        //other number for project1\n+        schedule(job1, 12, \"cause1_3\", 10000);\n+\n+        Job job2 = (Job) folder.createProject(tClass, \"project2\");\n+        job2.setDisplayName(\"project2 displayName\");\n+        job2.save();\n+        configRoundTripUnsecure(job2);\n+        schedule(job2, 10, \"job2\", 10000);\n+\n+        final GitHubPRTrigger gitHubPRTrigger2 = new GitHubPRTrigger(\"\", GitHubPRTriggerMode.HEAVY_HOOKS, null);\n+        gitHubPRTrigger2.setCancelQueued(true);\n+        gitHubPRTrigger2.start(job2, true); // to have working polling log files\n+        final JobRunnerForCause job2RunnerForCause = new JobRunnerForCause(job2, gitHubPRTrigger2);\n+\n+\n+        Job job3 = (Job) folder.createProject(tClass, \"project3\");\n+        job3.setDisplayName(\"project3 displayName\");\n+        job3.save();\n+        configRoundTripUnsecure(job3);\n+        schedule(job3, 10, \"cause1_3/project3\", 10000);\n+\n+        final GitHubPRTrigger gitHubPRTrigger3 = new GitHubPRTrigger(\"\", GitHubPRTriggerMode.HEAVY_HOOKS, null);\n+        gitHubPRTrigger3.setCancelQueued(true);\n+        gitHubPRTrigger3.start(job3, true); // to have working polling log files\n+        final JobRunnerForCause job3RunnerForCause = new JobRunnerForCause(job3, gitHubPRTrigger3);\n+\n+\n+        Thread.sleep(1000);\n+        assertThat(jenkins.getQueue().getItems(), arrayWithSize(5));\n+\n+\n+        ACL.impersonate(Jenkins.ANONYMOUS, new Runnable() {\n+            @Override\n+            public void run() {\n+                assertThat(\"Should cancel job1 -> number 10\", job1RunnerForCause.cancelQueuedBuildByPrNumber(10), is(2));\n+                assertThat(\"Should not cancel more job1 -> number 10\", job1RunnerForCause.cancelQueuedBuildByPrNumber(10), is(0));\n+            }\n+        });\n+\n+        assertThat(jenkins.getQueue().getItems(), arrayWithSize(3));\n+\n+        ACL.impersonate(Jenkins.ANONYMOUS, new Runnable() {\n+            @Override\n+            public void run() {\n+                assertThat(\"Should cancel job2 -> number 10\", job2RunnerForCause.cancelQueuedBuildByPrNumber(10), is(1));\n+                assertThat(\"Should not cancel more job2 -> number 10\", job2RunnerForCause.cancelQueuedBuildByPrNumber(10), is(0));\n+            }\n+        });\n+\n+        assertThat(jenkins.getQueue().getItems(), arrayWithSize(2));\n+\n+        ACL.impersonate(Jenkins.ANONYMOUS, new Runnable() {\n+            @Override\n+            public void run() {\n+                assertThat(\"Should cancel job3 -> number 10\", job3RunnerForCause.cancelQueuedBuildByPrNumber(10), is(1));\n+                assertThat(\"Should not cancel more job3 -> number 10\", job3RunnerForCause.cancelQueuedBuildByPrNumber(10), is(0));\n+            }\n+        });\n+\n+        assertThat(jenkins.getQueue().getItems(), arrayWithSize(1));\n+\n+        ACL.impersonate(Jenkins.ANONYMOUS, new Runnable() {\n+            @Override\n+            public void run() {\n+                assertThat(\"Should cancel job1 -> number 12\", job1RunnerForCause.cancelQueuedBuildByPrNumber(12), is(1));\n+                assertThat(\"Should not cancel more job1 -> number 12\", job1RunnerForCause.cancelQueuedBuildByPrNumber(12), is(0));\n+            }\n+        });\n+\n+        assertThat(jenkins.getQueue().getItems(), IsArrayWithSize.<Queue.Item>emptyArray());","path":"github-pullrequest-plugin/src/test/java/org/jenkinsci/plugins/github/pullrequest/trigger/CancelQueuedJobRunnerForCauseTest.java","position":137,"original_position":137,"commit_id":"daab999471d6a1ab4c004417afb0039530b398c4","original_commit_id":"daab999471d6a1ab4c004417afb0039530b398c4","user":{"login":"dummy-lanwen-bot","id":7958889,"avatar_url":"https://avatars.githubusercontent.com/u/7958889?v=3","gravatar_id":"","url":"https://api.github.com/users/dummy-lanwen-bot","html_url":"https://github.com/dummy-lanwen-bot","followers_url":"https://api.github.com/users/dummy-lanwen-bot/followers","following_url":"https://api.github.com/users/dummy-lanwen-bot/following{/other_user}","gists_url":"https://api.github.com/users/dummy-lanwen-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/dummy-lanwen-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dummy-lanwen-bot/subscriptions","organizations_url":"https://api.github.com/users/dummy-lanwen-bot/orgs","repos_url":"https://api.github.com/users/dummy-lanwen-bot/repos","events_url":"https://api.github.com/users/dummy-lanwen-bot/events{/privacy}","received_events_url":"https://api.github.com/users/dummy-lanwen-bot/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) Add a message to this assertion. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS2698)\n","created_at":"2016-05-13T18:08:24Z","updated_at":"2016-05-13T18:08:24Z","html_url":"https://github.com/jenkinsci/github-integration-plugin/pull/86#discussion_r63226868","pull_request_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/pulls/86","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/github-integration-plugin/pulls/comments/63226868"},"html":{"href":"https://github.com/jenkinsci/github-integration-plugin/pull/86#discussion_r63226868"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/github-integration-plugin/pulls/86"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/pulls/86","id":69717326,"html_url":"https://github.com/jenkinsci/github-integration-plugin/pull/86","diff_url":"https://github.com/jenkinsci/github-integration-plugin/pull/86.diff","patch_url":"https://github.com/jenkinsci/github-integration-plugin/pull/86.patch","issue_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/issues/86","number":86,"state":"open","locked":false,"title":"Abort running","user":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"body":"rebase of #85 to right branch\r\n<!-- Reviewable:start -->\r\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/jenkinsci/github-integration-plugin/86)\r\n<!-- Reviewable:end -->\r\n","created_at":"2016-05-11T18:13:27Z","updated_at":"2016-05-13T18:08:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab1dfbeca22ef8b159e3f89beb21dcdccaedaa07","assignee":null,"milestone":{"url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/milestones/5","html_url":"https://github.com/jenkinsci/github-integration-plugin/milestones/0.1.0-rc7","labels_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/milestones/5/labels","id":1750061,"number":5,"title":"0.1.0-rc7","description":"","creator":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2016-05-05T17:02:44Z","updated_at":"2016-05-11T21:30:27Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/pulls/86/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/pulls/86/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/issues/86/comments","statuses_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/statuses/daab999471d6a1ab4c004417afb0039530b398c4","head":{"label":"jenkinsci:abortRunning","ref":"abortRunning","sha":"daab999471d6a1ab4c004417afb0039530b398c4","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":35024150,"name":"github-integration-plugin","full_name":"jenkinsci/github-integration-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-integration-plugin","description":"GitHub Integration Plugin","fork":true,"url":"https://api.github.com/repos/jenkinsci/github-integration-plugin","forks_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/deployments","created_at":"2015-05-04T08:47:38Z","updated_at":"2016-05-13T16:49:27Z","pushed_at":"2016-05-13T18:01:10Z","git_url":"git://github.com/jenkinsci/github-integration-plugin.git","ssh_url":"git@github.com:jenkinsci/github-integration-plugin.git","clone_url":"https://github.com/jenkinsci/github-integration-plugin.git","svn_url":"https://github.com/jenkinsci/github-integration-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Integration+Plugin","size":710,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":12,"forks":11,"open_issues":12,"watchers":11,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"36ee36acd33053fcf9171054a6a0c05bebdaae8a","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":35024150,"name":"github-integration-plugin","full_name":"jenkinsci/github-integration-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-integration-plugin","description":"GitHub Integration Plugin","fork":true,"url":"https://api.github.com/repos/jenkinsci/github-integration-plugin","forks_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/github-integration-plugin/deployments","created_at":"2015-05-04T08:47:38Z","updated_at":"2016-05-13T16:49:27Z","pushed_at":"2016-05-13T18:01:10Z","git_url":"git://github.com/jenkinsci/github-integration-plugin.git","ssh_url":"git@github.com:jenkinsci/github-integration-plugin.git","clone_url":"https://github.com/jenkinsci/github-integration-plugin.git","svn_url":"https://github.com/jenkinsci/github-integration-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Integration+Plugin","size":710,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":12,"forks":11,"open_issues":12,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/github-integration-plugin/pulls/86"},"html":{"href":"https://github.com/jenkinsci/github-integration-plugin/pull/86"},"issue":{"href":"https://api.github.com/repos/jenkinsci/github-integration-plugin/issues/86"},"comments":{"href":"https://api.github.com/repos/jenkinsci/github-integration-plugin/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/github-integration-plugin/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/github-integration-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/github-integration-plugin/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/github-integration-plugin/statuses/daab999471d6a1ab4c004417afb0039530b398c4"}}}}