{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/pulls/comments/41987746","id":41987746,"diff_hunk":"@@ -0,0 +1,86 @@\n+/*\n+ * The MIT License\n+ *\n+ * Copyright 2013 Dominik Bartholdi.\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+package org.jenkinsci.plugins.badge;\n+\n+\n+import hudson.security.GlobalMatrixAuthorizationStrategy;\n+import hudson.security.SecurityRealm;\n+import org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition;\n+import org.jenkinsci.plugins.workflow.job.WorkflowJob;\n+import org.junit.Rule;\n+import org.junit.Test;\n+import org.jvnet.hudson.test.JenkinsRule;\n+import org.jvnet.hudson.test.recipes.PresetData;\n+\n+\n+/**\n+ * Just the fun bits: check that actions register correctly\n+ * @author Dominik Bartholdi (imod)","path":"src/test/java/org/jenkinsci/plugins/badge/WorkflowBadgeActionTest.java","position":39,"original_position":39,"commit_id":"77331fe9f360e5d61277051938d9ada8e25415cc","original_commit_id":"77331fe9f360e5d61277051938d9ada8e25415cc","user":{"login":"svanoort","id":5400948,"avatar_url":"https://avatars.githubusercontent.com/u/5400948?v=3","gravatar_id":"","url":"https://api.github.com/users/svanoort","html_url":"https://github.com/svanoort","followers_url":"https://api.github.com/users/svanoort/followers","following_url":"https://api.github.com/users/svanoort/following{/other_user}","gists_url":"https://api.github.com/users/svanoort/gists{/gist_id}","starred_url":"https://api.github.com/users/svanoort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svanoort/subscriptions","organizations_url":"https://api.github.com/users/svanoort/orgs","repos_url":"https://api.github.com/users/svanoort/repos","events_url":"https://api.github.com/users/svanoort/events{/privacy}","received_events_url":"https://api.github.com/users/svanoort/received_events","type":"User","site_admin":false},"body":"@recena Whoopsy!  Fixed.","created_at":"2015-10-14T12:41:35Z","updated_at":"2015-10-14T12:41:35Z","html_url":"https://github.com/jenkinsci/embeddable-build-status-plugin/pull/17#discussion_r41987746","pull_request_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/pulls/comments/41987746"},"html":{"href":"https://github.com/jenkinsci/embeddable-build-status-plugin/pull/17#discussion_r41987746"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/pulls/17","id":47618055,"html_url":"https://github.com/jenkinsci/embeddable-build-status-plugin/pull/17","diff_url":"https://github.com/jenkinsci/embeddable-build-status-plugin/pull/17.diff","patch_url":"https://github.com/jenkinsci/embeddable-build-status-plugin/pull/17.patch","issue_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/issues/17","number":17,"state":"open","locked":false,"title":"[JENKINS-28642] Workflow compatibility for embeddable build status","user":{"login":"svanoort","id":5400948,"avatar_url":"https://avatars.githubusercontent.com/u/5400948?v=3","gravatar_id":"","url":"https://api.github.com/users/svanoort","html_url":"https://github.com/svanoort","followers_url":"https://api.github.com/users/svanoort/followers","following_url":"https://api.github.com/users/svanoort/following{/other_user}","gists_url":"https://api.github.com/users/svanoort/gists{/gist_id}","starred_url":"https://api.github.com/users/svanoort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svanoort/subscriptions","organizations_url":"https://api.github.com/users/svanoort/orgs","repos_url":"https://api.github.com/users/svanoort/repos","events_url":"https://api.github.com/users/svanoort/events{/privacy}","received_events_url":"https://api.github.com/users/svanoort/received_events","type":"User","site_admin":false},"body":"Manually tested as well\r\n\r\n@reviewbybees ","created_at":"2015-10-14T05:00:04Z","updated_at":"2015-10-14T12:41:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db4125496973bc13e5c46f2923fd53797bb5f0c6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/pulls/17/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/pulls/17/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/issues/17/comments","statuses_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/statuses/77331fe9f360e5d61277051938d9ada8e25415cc","head":{"label":"jenkinsci:workflow-compatibility","ref":"workflow-compatibility","sha":"77331fe9f360e5d61277051938d9ada8e25415cc","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":4274667,"name":"embeddable-build-status-plugin","full_name":"jenkinsci/embeddable-build-status-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/embeddable-build-status-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin","forks_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/releases{/id}","created_at":"2012-05-09T17:51:59Z","updated_at":"2015-10-01T18:05:25Z","pushed_at":"2015-10-14T05:00:05Z","git_url":"git://github.com/jenkinsci/embeddable-build-status-plugin.git","ssh_url":"git@github.com:jenkinsci/embeddable-build-status-plugin.git","clone_url":"https://github.com/jenkinsci/embeddable-build-status-plugin.git","svn_url":"https://github.com/jenkinsci/embeddable-build-status-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Embeddable+Build+Status+Plugin","size":524,"stargazers_count":33,"watchers_count":33,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":3,"forks":35,"open_issues":3,"watchers":33,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"5e976a690601db4a7903eae0843721572b7e7f50","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":4274667,"name":"embeddable-build-status-plugin","full_name":"jenkinsci/embeddable-build-status-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/embeddable-build-status-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin","forks_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/releases{/id}","created_at":"2012-05-09T17:51:59Z","updated_at":"2015-10-01T18:05:25Z","pushed_at":"2015-10-14T05:00:05Z","git_url":"git://github.com/jenkinsci/embeddable-build-status-plugin.git","ssh_url":"git@github.com:jenkinsci/embeddable-build-status-plugin.git","clone_url":"https://github.com/jenkinsci/embeddable-build-status-plugin.git","svn_url":"https://github.com/jenkinsci/embeddable-build-status-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Embeddable+Build+Status+Plugin","size":524,"stargazers_count":33,"watchers_count":33,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":3,"forks":35,"open_issues":3,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/pulls/17"},"html":{"href":"https://github.com/jenkinsci/embeddable-build-status-plugin/pull/17"},"issue":{"href":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/issues/17"},"comments":{"href":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/embeddable-build-status-plugin/statuses/77331fe9f360e5d61277051938d9ada8e25415cc"}}}}