{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/comments/48768553","id":48768553,"diff_hunk":"@@ -66,11 +70,16 @@\n import static org.junit.Assert.assertEquals;\n import static org.junit.Assert.assertNotNull;\n import static org.junit.Assert.assertTrue;\n+import static org.hamcrest.Matchers.*;\n+import org.jenkinsci.plugins.workflow.support.steps.ExecutorStep;\n+import org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution;\n+import static org.junit.Assert.assertThat;","path":"aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/ExecutorStepTest.java","position":31,"original_position":31,"commit_id":"e0b3586b4d4a718eb66714cce9a523d78bbe9230","original_commit_id":"e0b3586b4d4a718eb66714cce9a523d78bbe9230","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":"Can just switch to a wildcard static import (see lines 70–72).","created_at":"2016-01-04T19:18:36Z","updated_at":"2016-01-04T19:18:36Z","html_url":"https://github.com/jenkinsci/workflow-plugin/pull/285#discussion_r48768553","pull_request_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/285","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/comments/48768553"},"html":{"href":"https://github.com/jenkinsci/workflow-plugin/pull/285#discussion_r48768553"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/285"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/285","id":54788333,"html_url":"https://github.com/jenkinsci/workflow-plugin/pull/285","diff_url":"https://github.com/jenkinsci/workflow-plugin/pull/285.diff","patch_url":"https://github.com/jenkinsci/workflow-plugin/pull/285.patch","issue_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/issues/285","number":285,"state":"open","locked":false,"title":"[JENKINS-32225] - Add the functionality for Node usage tracking","user":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"body":"- [x] - Add FlowListener extension point\r\n- [x] - Add method allowing to retrieve executors from FlowExecutions\r\n- [x] - Unit test demonstrating the use-case\r\n\r\nhttp://issues.jenkins-ci.org/browse/JENKINS-32225\r\n\r\n@reviewbybees ","created_at":"2015-12-30T09:48:32Z","updated_at":"2016-01-04T19:18:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40f250504ffab0265dd161dce519ec7aa27c014d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/285/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/285/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/issues/285/comments","statuses_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/statuses/e0b3586b4d4a718eb66714cce9a523d78bbe9230","head":{"label":"oleg-nenashev:JENKINS-32225","ref":"JENKINS-32225","sha":"e0b3586b4d4a718eb66714cce9a523d78bbe9230","user":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"repo":{"id":36369347,"name":"workflow-plugin","full_name":"oleg-nenashev/workflow-plugin","owner":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oleg-nenashev/workflow-plugin","description":"Jenkins workflow plugin","fork":true,"url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin","forks_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/forks","keys_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/teams","hooks_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/hooks","issue_events_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/events","assignees_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/tags","blobs_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/languages","stargazers_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/stargazers","contributors_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/contributors","subscribers_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/subscribers","subscription_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/subscription","commits_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/merges","archive_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/downloads","issues_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/labels{/name}","releases_url":"https://api.github.com/repos/oleg-nenashev/workflow-plugin/releases{/id}","created_at":"2015-05-27T13:41:11Z","updated_at":"2015-05-27T13:41:12Z","pushed_at":"2015-12-30T09:45:10Z","git_url":"git://github.com/oleg-nenashev/workflow-plugin.git","ssh_url":"git@github.com:oleg-nenashev/workflow-plugin.git","clone_url":"https://github.com/oleg-nenashev/workflow-plugin.git","svn_url":"https://github.com/oleg-nenashev/workflow-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Workflow+Plugin","size":4468,"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":"958e6e70ce8c45bd5374d3ca3f45d3b8f91a6983","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":19630847,"name":"workflow-plugin","full_name":"jenkinsci/workflow-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/workflow-plugin","description":"Jenkins workflow plugin","fork":false,"url":"https://api.github.com/repos/jenkinsci/workflow-plugin","forks_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/releases{/id}","created_at":"2014-05-10T01:47:09Z","updated_at":"2016-01-04T18:07:08Z","pushed_at":"2016-01-04T15:09:56Z","git_url":"git://github.com/jenkinsci/workflow-plugin.git","ssh_url":"git@github.com:jenkinsci/workflow-plugin.git","clone_url":"https://github.com/jenkinsci/workflow-plugin.git","svn_url":"https://github.com/jenkinsci/workflow-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Workflow+Plugin","size":4726,"stargazers_count":507,"watchers_count":507,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":159,"mirror_url":null,"open_issues_count":15,"forks":159,"open_issues":15,"watchers":507,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/285"},"html":{"href":"https://github.com/jenkinsci/workflow-plugin/pull/285"},"issue":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/issues/285"},"comments":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/issues/285/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/285/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/285/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/statuses/e0b3586b4d4a718eb66714cce9a523d78bbe9230"}}}}