{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/comments/42598986","id":42598986,"diff_hunk":"@@ -170,4 +172,14 @@ public String getId() throws AbortException {\n         }\n     }\n \n+    @Whitelisted\n+    public @Nonnull String getAbsoluteUrl() throws AbortException {\n+        String root = Jenkins.getActiveInstance().getRootUrl();\n+        if (root == null) {\n+            throw new AbortException(\"Jenkins root url is not configured!\");\n+        } else {\n+            return root + build().getUrl();","path":"support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/RunWrapper.java","position":19,"original_position":19,"commit_id":"e132d28324917091822413a1c7e7e47ef556be24","original_commit_id":"e132d28324917091822413a1c7e7e47ef556be24","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":"```Run.getAbsoluteUrl()``` is marked as deprecated from what I can see.","created_at":"2015-10-21T09:01:08Z","updated_at":"2015-10-21T09:01:08Z","html_url":"https://github.com/jenkinsci/workflow-plugin/pull/225#discussion_r42598986","pull_request_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/225","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/comments/42598986"},"html":{"href":"https://github.com/jenkinsci/workflow-plugin/pull/225#discussion_r42598986"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/225"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/225","id":48228607,"html_url":"https://github.com/jenkinsci/workflow-plugin/pull/225","diff_url":"https://github.com/jenkinsci/workflow-plugin/pull/225.diff","patch_url":"https://github.com/jenkinsci/workflow-plugin/pull/225.patch","issue_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/issues/225","number":225,"state":"open","locked":false,"title":"Added absoluteUrl property to RunWrapper","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":"@reviewbybees ","created_at":"2015-10-20T16:58:18Z","updated_at":"2015-10-21T09:01:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ce46bb893991aed2d78528317a7a935440bef70","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/225/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/225/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/225/comments","statuses_url":"https://api.github.com/repos/jenkinsci/workflow-plugin/statuses/e132d28324917091822413a1c7e7e47ef556be24","head":{"label":"rsandell:absoluteUrl","ref":"absoluteUrl","sha":"e132d28324917091822413a1c7e7e47ef556be24","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},"repo":{"id":44620665,"name":"workflow-plugin","full_name":"rsandell/workflow-plugin","owner":{"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},"private":false,"html_url":"https://github.com/rsandell/workflow-plugin","description":"Jenkins workflow plugin","fork":true,"url":"https://api.github.com/repos/rsandell/workflow-plugin","forks_url":"https://api.github.com/repos/rsandell/workflow-plugin/forks","keys_url":"https://api.github.com/repos/rsandell/workflow-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rsandell/workflow-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rsandell/workflow-plugin/teams","hooks_url":"https://api.github.com/repos/rsandell/workflow-plugin/hooks","issue_events_url":"https://api.github.com/repos/rsandell/workflow-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/rsandell/workflow-plugin/events","assignees_url":"https://api.github.com/repos/rsandell/workflow-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/rsandell/workflow-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/rsandell/workflow-plugin/tags","blobs_url":"https://api.github.com/repos/rsandell/workflow-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rsandell/workflow-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rsandell/workflow-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/rsandell/workflow-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rsandell/workflow-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/rsandell/workflow-plugin/languages","stargazers_url":"https://api.github.com/repos/rsandell/workflow-plugin/stargazers","contributors_url":"https://api.github.com/repos/rsandell/workflow-plugin/contributors","subscribers_url":"https://api.github.com/repos/rsandell/workflow-plugin/subscribers","subscription_url":"https://api.github.com/repos/rsandell/workflow-plugin/subscription","commits_url":"https://api.github.com/repos/rsandell/workflow-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/rsandell/workflow-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/rsandell/workflow-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/rsandell/workflow-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/rsandell/workflow-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/rsandell/workflow-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rsandell/workflow-plugin/merges","archive_url":"https://api.github.com/repos/rsandell/workflow-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rsandell/workflow-plugin/downloads","issues_url":"https://api.github.com/repos/rsandell/workflow-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/rsandell/workflow-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/rsandell/workflow-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/rsandell/workflow-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rsandell/workflow-plugin/labels{/name}","releases_url":"https://api.github.com/repos/rsandell/workflow-plugin/releases{/id}","created_at":"2015-10-20T16:46:18Z","updated_at":"2015-10-20T16:46:21Z","pushed_at":"2015-10-20T16:57:36Z","git_url":"git://github.com/rsandell/workflow-plugin.git","ssh_url":"git@github.com:rsandell/workflow-plugin.git","clone_url":"https://github.com/rsandell/workflow-plugin.git","svn_url":"https://github.com/rsandell/workflow-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Workflow+Plugin","size":8858,"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":"eca9d9ce100979410d0e6574f725310f4321661e","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":"2015-10-21T07:06:04Z","pushed_at":"2015-10-20T18:36:21Z","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":8858,"stargazers_count":418,"watchers_count":418,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":120,"mirror_url":null,"open_issues_count":10,"forks":120,"open_issues":10,"watchers":418,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/225"},"html":{"href":"https://github.com/jenkinsci/workflow-plugin/pull/225"},"issue":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/issues/225"},"comments":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/issues/225/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/pulls/225/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/225/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/workflow-plugin/statuses/e132d28324917091822413a1c7e7e47ef556be24"}}}}