{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/envinject-plugin/pulls/comments/39345208","id":39345208,"diff_hunk":"@@ -39,13 +40,14 @@\n     @SuppressWarnings(\"deprecation\")\n     @Test\n     public void shouldWriteInfoAboutManualBuildCause() throws Exception {\n-        Cause cause = Cause.UserCause.class.newInstance();\n+    \tUserIdCause cause = Cause.UserIdCause.class.newInstance();","path":"src/test/java/org/jenkinsci/plugins/envinject/BuildCauseRetrieverTest.java","position":46,"original_position":46,"commit_id":"ae4445da7920b89ea1f6a52e273e73d9016c6eea","original_commit_id":"ae4445da7920b89ea1f6a52e273e73d9016c6eea","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":"I just wonder how it may work, because you don't specify the username when you trigger the build... If the check below works, then something is wrong with the matcher","created_at":"2015-09-13T07:16:28Z","updated_at":"2015-09-13T07:16:28Z","html_url":"https://github.com/jenkinsci/envinject-plugin/pull/72#discussion_r39345208","pull_request_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/envinject-plugin/pulls/comments/39345208"},"html":{"href":"https://github.com/jenkinsci/envinject-plugin/pull/72#discussion_r39345208"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/envinject-plugin/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/envinject-plugin/pulls/72","id":44751847,"html_url":"https://github.com/jenkinsci/envinject-plugin/pull/72","diff_url":"https://github.com/jenkinsci/envinject-plugin/pull/72.diff","patch_url":"https://github.com/jenkinsci/envinject-plugin/pull/72.patch","issue_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/issues/72","number":72,"state":"open","locked":false,"title":"Add \"USER_NAME\"  to BuildVariables","user":{"login":"zhangzhenyu0819","id":14229070,"avatar_url":"https://avatars.githubusercontent.com/u/14229070?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangzhenyu0819","html_url":"https://github.com/zhangzhenyu0819","followers_url":"https://api.github.com/users/zhangzhenyu0819/followers","following_url":"https://api.github.com/users/zhangzhenyu0819/following{/other_user}","gists_url":"https://api.github.com/users/zhangzhenyu0819/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangzhenyu0819/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangzhenyu0819/subscriptions","organizations_url":"https://api.github.com/users/zhangzhenyu0819/orgs","repos_url":"https://api.github.com/users/zhangzhenyu0819/repos","events_url":"https://api.github.com/users/zhangzhenyu0819/events{/privacy}","received_events_url":"https://api.github.com/users/zhangzhenyu0819/received_events","type":"User","site_admin":false},"body":"Add \"USER_NAME\"  to BuildVariables(ManualBuildCause only)","created_at":"2015-09-11T06:57:48Z","updated_at":"2015-09-13T07:16:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8816cb92cd319f5e8e3eadc0e6683911a702e0d0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/pulls/72/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/pulls/72/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/issues/72/comments","statuses_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/statuses/ae4445da7920b89ea1f6a52e273e73d9016c6eea","head":{"label":"zhangzhenyu0819:dev_zhang","ref":"dev_zhang","sha":"ae4445da7920b89ea1f6a52e273e73d9016c6eea","user":{"login":"zhangzhenyu0819","id":14229070,"avatar_url":"https://avatars.githubusercontent.com/u/14229070?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangzhenyu0819","html_url":"https://github.com/zhangzhenyu0819","followers_url":"https://api.github.com/users/zhangzhenyu0819/followers","following_url":"https://api.github.com/users/zhangzhenyu0819/following{/other_user}","gists_url":"https://api.github.com/users/zhangzhenyu0819/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangzhenyu0819/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangzhenyu0819/subscriptions","organizations_url":"https://api.github.com/users/zhangzhenyu0819/orgs","repos_url":"https://api.github.com/users/zhangzhenyu0819/repos","events_url":"https://api.github.com/users/zhangzhenyu0819/events{/privacy}","received_events_url":"https://api.github.com/users/zhangzhenyu0819/received_events","type":"User","site_admin":false},"repo":{"id":42287081,"name":"envinject-plugin","full_name":"zhangzhenyu0819/envinject-plugin","owner":{"login":"zhangzhenyu0819","id":14229070,"avatar_url":"https://avatars.githubusercontent.com/u/14229070?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangzhenyu0819","html_url":"https://github.com/zhangzhenyu0819","followers_url":"https://api.github.com/users/zhangzhenyu0819/followers","following_url":"https://api.github.com/users/zhangzhenyu0819/following{/other_user}","gists_url":"https://api.github.com/users/zhangzhenyu0819/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangzhenyu0819/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangzhenyu0819/subscriptions","organizations_url":"https://api.github.com/users/zhangzhenyu0819/orgs","repos_url":"https://api.github.com/users/zhangzhenyu0819/repos","events_url":"https://api.github.com/users/zhangzhenyu0819/events{/privacy}","received_events_url":"https://api.github.com/users/zhangzhenyu0819/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhangzhenyu0819/envinject-plugin","description":"","fork":true,"url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin","forks_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/forks","keys_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/teams","hooks_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/hooks","issue_events_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/events","assignees_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/tags","blobs_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/languages","stargazers_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/stargazers","contributors_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/contributors","subscribers_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/subscribers","subscription_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/subscription","commits_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/merges","archive_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/downloads","issues_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/labels{/name}","releases_url":"https://api.github.com/repos/zhangzhenyu0819/envinject-plugin/releases{/id}","created_at":"2015-09-11T04:12:41Z","updated_at":"2015-09-11T04:12:42Z","pushed_at":"2015-09-11T08:13:51Z","git_url":"git://github.com/zhangzhenyu0819/envinject-plugin.git","ssh_url":"git@github.com:zhangzhenyu0819/envinject-plugin.git","clone_url":"https://github.com/zhangzhenyu0819/envinject-plugin.git","svn_url":"https://github.com/zhangzhenyu0819/envinject-plugin","homepage":"","size":1659,"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":"e4a161807e6bafd118bdbe28a0f5dcaf32dd4e8b","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":2059304,"name":"envinject-plugin","full_name":"jenkinsci/envinject-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/envinject-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/envinject-plugin","forks_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/releases{/id}","created_at":"2011-07-16T20:09:41Z","updated_at":"2015-09-03T07:50:13Z","pushed_at":"2015-09-11T08:15:29Z","git_url":"git://github.com/jenkinsci/envinject-plugin.git","ssh_url":"git@github.com:jenkinsci/envinject-plugin.git","clone_url":"https://github.com/jenkinsci/envinject-plugin.git","svn_url":"https://github.com/jenkinsci/envinject-plugin","homepage":"","size":1659,"stargazers_count":26,"watchers_count":26,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":64,"mirror_url":null,"open_issues_count":10,"forks":64,"open_issues":10,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/envinject-plugin/pulls/72"},"html":{"href":"https://github.com/jenkinsci/envinject-plugin/pull/72"},"issue":{"href":"https://api.github.com/repos/jenkinsci/envinject-plugin/issues/72"},"comments":{"href":"https://api.github.com/repos/jenkinsci/envinject-plugin/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/envinject-plugin/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/envinject-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/envinject-plugin/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/envinject-plugin/statuses/ae4445da7920b89ea1f6a52e273e73d9016c6eea"}}}}