{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/pulls/comments/34357551","id":34357551,"diff_hunk":"@@ -428,15 +429,18 @@ private String obtainFailureMessage(@Nullable GerritTriggeredEvent event,\n                 // The filename may contain environment variables\n                 filepath = envVars.expand(filepath);\n \n-                // Check for ANT-style file path\n-                FilePath[] matches = this.getMatchingWorkspaceFiles(build.getWorkspace(), filepath);\n-                logger.debug(\"Found matching workspace files: {}\", matches);\n-\n-                if (matches.length > 0) {\n-                    // Use the first match\n-                    FilePath path = matches[0];\n-                    content = this.getExpandedContent(path, envVars);\n-                    logger.info(\"Obtained failure message from file: {}\", content);\n+                // TODO: what will we do here?","path":"src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/gerritnotifier/ToGerritRunListener.java","position":172,"original_position":172,"commit_id":"07075f4967fe80e17a75111b46bde33ebf6e966a","original_commit_id":"07075f4967fe80e17a75111b46bde33ebf6e966a","user":{"login":"rsandell","id":300688,"avatar_url":"https://avatars.githubusercontent.com/u/300688?v=3","gravatar_id":"","url":"https://api.github.com/users/rsandell","html_url":"https://github.com/rsandell","followers_url":"https://api.github.com/users/rsandell/followers","following_url":"https://api.github.com/users/rsandell/following{/other_user}","gists_url":"https://api.github.com/users/rsandell/gists{/gist_id}","starred_url":"https://api.github.com/users/rsandell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsandell/subscriptions","organizations_url":"https://api.github.com/users/rsandell/orgs","repos_url":"https://api.github.com/users/rsandell/repos","events_url":"https://api.github.com/users/rsandell/events{/privacy}","received_events_url":"https://api.github.com/users/rsandell/received_events","type":"User","site_admin":false},"body":"I've seen code something like ```getCurrentExecutor(build).getWorkspace()``` appear now and then.","created_at":"2015-07-10T14:15:09Z","updated_at":"2015-07-10T14:15:09Z","html_url":"https://github.com/jenkinsci/gerrit-trigger-plugin/pull/240#discussion_r34357551","pull_request_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/pulls/240","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/pulls/comments/34357551"},"html":{"href":"https://github.com/jenkinsci/gerrit-trigger-plugin/pull/240#discussion_r34357551"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/pulls/240"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/pulls/240","id":39685648,"html_url":"https://github.com/jenkinsci/gerrit-trigger-plugin/pull/240","diff_url":"https://github.com/jenkinsci/gerrit-trigger-plugin/pull/240.diff","patch_url":"https://github.com/jenkinsci/gerrit-trigger-plugin/pull/240.patch","issue_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/issues/240","number":240,"state":"open","locked":false,"title":"[WiP] [JENKINS-26010] Workflow compatibility","user":{"login":"tfennelly","id":429311,"avatar_url":"https://avatars.githubusercontent.com/u/429311?v=3","gravatar_id":"","url":"https://api.github.com/users/tfennelly","html_url":"https://github.com/tfennelly","followers_url":"https://api.github.com/users/tfennelly/followers","following_url":"https://api.github.com/users/tfennelly/following{/other_user}","gists_url":"https://api.github.com/users/tfennelly/gists{/gist_id}","starred_url":"https://api.github.com/users/tfennelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfennelly/subscriptions","organizations_url":"https://api.github.com/users/tfennelly/orgs","repos_url":"https://api.github.com/users/tfennelly/repos","events_url":"https://api.github.com/users/tfennelly/events{/privacy}","received_events_url":"https://api.github.com/users/tfennelly/received_events","type":"User","site_admin":false},"body":"[See JENKINS-26010](https://issues.jenkins-ci.org/browse/JENKINS-26010)\r\n\r\nCurrent status: compiles, but can't promise anything more. Have not tried running the test yet.","created_at":"2015-07-10T13:53:55Z","updated_at":"2015-07-10T14:15:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cdc9e94775c63b04bbea4ec4271d6b4d569df25e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/pulls/240/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/pulls/240/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/issues/240/comments","statuses_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/statuses/07075f4967fe80e17a75111b46bde33ebf6e966a","head":{"label":"tfennelly:JENKINS-26010","ref":"JENKINS-26010","sha":"07075f4967fe80e17a75111b46bde33ebf6e966a","user":{"login":"tfennelly","id":429311,"avatar_url":"https://avatars.githubusercontent.com/u/429311?v=3","gravatar_id":"","url":"https://api.github.com/users/tfennelly","html_url":"https://github.com/tfennelly","followers_url":"https://api.github.com/users/tfennelly/followers","following_url":"https://api.github.com/users/tfennelly/following{/other_user}","gists_url":"https://api.github.com/users/tfennelly/gists{/gist_id}","starred_url":"https://api.github.com/users/tfennelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfennelly/subscriptions","organizations_url":"https://api.github.com/users/tfennelly/orgs","repos_url":"https://api.github.com/users/tfennelly/repos","events_url":"https://api.github.com/users/tfennelly/events{/privacy}","received_events_url":"https://api.github.com/users/tfennelly/received_events","type":"User","site_admin":false},"repo":{"id":38813228,"name":"gerrit-trigger-plugin","full_name":"tfennelly/gerrit-trigger-plugin","owner":{"login":"tfennelly","id":429311,"avatar_url":"https://avatars.githubusercontent.com/u/429311?v=3","gravatar_id":"","url":"https://api.github.com/users/tfennelly","html_url":"https://github.com/tfennelly","followers_url":"https://api.github.com/users/tfennelly/followers","following_url":"https://api.github.com/users/tfennelly/following{/other_user}","gists_url":"https://api.github.com/users/tfennelly/gists{/gist_id}","starred_url":"https://api.github.com/users/tfennelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfennelly/subscriptions","organizations_url":"https://api.github.com/users/tfennelly/orgs","repos_url":"https://api.github.com/users/tfennelly/repos","events_url":"https://api.github.com/users/tfennelly/events{/privacy}","received_events_url":"https://api.github.com/users/tfennelly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tfennelly/gerrit-trigger-plugin","description":null,"fork":true,"url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin","forks_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/forks","keys_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/teams","hooks_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/hooks","issue_events_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/events","assignees_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/tags","blobs_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/languages","stargazers_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/stargazers","contributors_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/contributors","subscribers_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/subscribers","subscription_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/subscription","commits_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/merges","archive_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/downloads","issues_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/labels{/name}","releases_url":"https://api.github.com/repos/tfennelly/gerrit-trigger-plugin/releases{/id}","created_at":"2015-07-09T10:07:46Z","updated_at":"2015-07-09T10:07:47Z","pushed_at":"2015-07-10T13:46:50Z","git_url":"git://github.com/tfennelly/gerrit-trigger-plugin.git","ssh_url":"git@github.com:tfennelly/gerrit-trigger-plugin.git","clone_url":"https://github.com/tfennelly/gerrit-trigger-plugin.git","svn_url":"https://github.com/tfennelly/gerrit-trigger-plugin","homepage":"http://jenkins-ci.org/","size":7874,"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":"0e79ae10ed6ad8c1585c9947dab403a3e226d430","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":713669,"name":"gerrit-trigger-plugin","full_name":"jenkinsci/gerrit-trigger-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/gerrit-trigger-plugin","description":null,"fork":false,"url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin","forks_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/releases{/id}","created_at":"2010-06-10T14:43:35Z","updated_at":"2015-06-16T16:29:08Z","pushed_at":"2015-07-10T13:53:56Z","git_url":"git://github.com/jenkinsci/gerrit-trigger-plugin.git","ssh_url":"git@github.com:jenkinsci/gerrit-trigger-plugin.git","clone_url":"https://github.com/jenkinsci/gerrit-trigger-plugin.git","svn_url":"https://github.com/jenkinsci/gerrit-trigger-plugin","homepage":"http://jenkins-ci.org/","size":7874,"stargazers_count":116,"watchers_count":116,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":127,"mirror_url":null,"open_issues_count":1,"forks":127,"open_issues":1,"watchers":116,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/pulls/240"},"html":{"href":"https://github.com/jenkinsci/gerrit-trigger-plugin/pull/240"},"issue":{"href":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/issues/240"},"comments":{"href":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/issues/240/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/pulls/240/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/pulls/240/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/gerrit-trigger-plugin/statuses/07075f4967fe80e17a75111b46bde33ebf6e966a"}}}}