{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/pulls/comments/67583012","id":67583012,"diff_hunk":"@@ -0,0 +1,45 @@\n+package org.jenkinsci.plugins.cucumber.jsontestsupport.workflow;\n+\n+import hudson.Extension;\n+import org.jenkinsci.plugins.workflow.steps.AbstractStepDescriptorImpl;\n+import org.jenkinsci.plugins.workflow.steps.AbstractStepImpl;\n+\n+import javax.annotation.CheckForNull;\n+\n+import org.kohsuke.stapler.DataBoundConstructor;\n+\n+/**\n+ * Created by haoyuwang on 3/10/16.\n+ */\n+public class JsonTestResultStep extends AbstractStepImpl {\n+\n+    private final String target;\n+\n+    @DataBoundConstructor\n+    public JsonTestResultStep(@CheckForNull String target) {\n+        this.target = target;\n+    }\n+\n+    @CheckForNull\n+    public String getTarget() {\n+        return target;\n+    }\n+\n+    @Extension\n+    public static class DescriptorImpl extends AbstractStepDescriptorImpl {\n+\n+        public DescriptorImpl() {\n+            super(JsonTestResultStepExecution.class);\n+        }\n+\n+        @Override\n+        public String getFunctionName() {\n+            return \"publishJsonTestResult\";\n+        }\n+\n+        @Override\n+        public String getDisplayName() {\n+            return \"Publish Json reports\";","path":"src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/workflow/JsonTestResultStep.java","position":42,"original_position":42,"commit_id":"4aefd3aa8a1c08c1367eade71784027c867602d6","original_commit_id":"4aefd3aa8a1c08c1367eade71784027c867602d6","user":{"login":"jtnord","id":494726,"avatar_url":"https://avatars.githubusercontent.com/u/494726?v=3","gravatar_id":"","url":"https://api.github.com/users/jtnord","html_url":"https://github.com/jtnord","followers_url":"https://api.github.com/users/jtnord/followers","following_url":"https://api.github.com/users/jtnord/following{/other_user}","gists_url":"https://api.github.com/users/jtnord/gists{/gist_id}","starred_url":"https://api.github.com/users/jtnord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtnord/subscriptions","organizations_url":"https://api.github.com/users/jtnord/orgs","repos_url":"https://api.github.com/users/jtnord/repos","events_url":"https://api.github.com/users/jtnord/events{/privacy}","received_events_url":"https://api.github.com/users/jtnord/received_events","type":"User","site_admin":false},"body":"cucumber","created_at":"2016-06-17T22:18:23Z","updated_at":"2016-06-17T22:18:23Z","html_url":"https://github.com/jenkinsci/cucumber-testresult-plugin/pull/8#discussion_r67583012","pull_request_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/pulls/comments/67583012"},"html":{"href":"https://github.com/jenkinsci/cucumber-testresult-plugin/pull/8#discussion_r67583012"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/pulls/8","id":62590703,"html_url":"https://github.com/jenkinsci/cucumber-testresult-plugin/pull/8","diff_url":"https://github.com/jenkinsci/cucumber-testresult-plugin/pull/8.diff","patch_url":"https://github.com/jenkinsci/cucumber-testresult-plugin/pull/8.patch","issue_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/issues/8","number":8,"state":"open","locked":false,"title":"[JENKINS-26340] Pipeline Integration","user":{"login":"helloeve","id":2510012,"avatar_url":"https://avatars.githubusercontent.com/u/2510012?v=3","gravatar_id":"","url":"https://api.github.com/users/helloeve","html_url":"https://github.com/helloeve","followers_url":"https://api.github.com/users/helloeve/followers","following_url":"https://api.github.com/users/helloeve/following{/other_user}","gists_url":"https://api.github.com/users/helloeve/gists{/gist_id}","starred_url":"https://api.github.com/users/helloeve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helloeve/subscriptions","organizations_url":"https://api.github.com/users/helloeve/orgs","repos_url":"https://api.github.com/users/helloeve/repos","events_url":"https://api.github.com/users/helloeve/events{/privacy}","received_events_url":"https://api.github.com/users/helloeve/received_events","type":"User","site_admin":false},"body":"The change adds a workflow step, which allows to publish cucumber test result.","created_at":"2016-03-11T19:29:53Z","updated_at":"2016-06-17T22:18:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"43eaa37e65f561525b02b9bf7b047be5b2e29da9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/pulls/8/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/pulls/8/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/issues/8/comments","statuses_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/statuses/4aefd3aa8a1c08c1367eade71784027c867602d6","head":{"label":"helloeve:master","ref":"master","sha":"4aefd3aa8a1c08c1367eade71784027c867602d6","user":{"login":"helloeve","id":2510012,"avatar_url":"https://avatars.githubusercontent.com/u/2510012?v=3","gravatar_id":"","url":"https://api.github.com/users/helloeve","html_url":"https://github.com/helloeve","followers_url":"https://api.github.com/users/helloeve/followers","following_url":"https://api.github.com/users/helloeve/following{/other_user}","gists_url":"https://api.github.com/users/helloeve/gists{/gist_id}","starred_url":"https://api.github.com/users/helloeve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helloeve/subscriptions","organizations_url":"https://api.github.com/users/helloeve/orgs","repos_url":"https://api.github.com/users/helloeve/repos","events_url":"https://api.github.com/users/helloeve/events{/privacy}","received_events_url":"https://api.github.com/users/helloeve/received_events","type":"User","site_admin":false},"repo":{"id":53626351,"name":"cucumber-testresult-plugin","full_name":"helloeve/cucumber-testresult-plugin","owner":{"login":"helloeve","id":2510012,"avatar_url":"https://avatars.githubusercontent.com/u/2510012?v=3","gravatar_id":"","url":"https://api.github.com/users/helloeve","html_url":"https://github.com/helloeve","followers_url":"https://api.github.com/users/helloeve/followers","following_url":"https://api.github.com/users/helloeve/following{/other_user}","gists_url":"https://api.github.com/users/helloeve/gists{/gist_id}","starred_url":"https://api.github.com/users/helloeve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helloeve/subscriptions","organizations_url":"https://api.github.com/users/helloeve/orgs","repos_url":"https://api.github.com/users/helloeve/repos","events_url":"https://api.github.com/users/helloeve/events{/privacy}","received_events_url":"https://api.github.com/users/helloeve/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/helloeve/cucumber-testresult-plugin","description":"","fork":true,"url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin","forks_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/forks","keys_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/teams","hooks_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/hooks","issue_events_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/events","assignees_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/tags","blobs_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/languages","stargazers_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/stargazers","contributors_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/contributors","subscribers_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/subscribers","subscription_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/subscription","commits_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/merges","archive_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/downloads","issues_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/labels{/name}","releases_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/helloeve/cucumber-testresult-plugin/deployments","created_at":"2016-03-11T00:03:58Z","updated_at":"2016-03-11T00:03:59Z","pushed_at":"2016-04-01T17:09:49Z","git_url":"git://github.com/helloeve/cucumber-testresult-plugin.git","ssh_url":"git@github.com:helloeve/cucumber-testresult-plugin.git","clone_url":"https://github.com/helloeve/cucumber-testresult-plugin.git","svn_url":"https://github.com/helloeve/cucumber-testresult-plugin","homepage":"","size":188,"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":"8e65836e202bc51d364715e2c5f08cd09540f33e","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":13842768,"name":"cucumber-testresult-plugin","full_name":"jenkinsci/cucumber-testresult-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/cucumber-testresult-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin","forks_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/deployments","created_at":"2013-10-24T19:58:48Z","updated_at":"2016-02-11T23:09:20Z","pushed_at":"2016-04-01T17:09:51Z","git_url":"git://github.com/jenkinsci/cucumber-testresult-plugin.git","ssh_url":"git@github.com:jenkinsci/cucumber-testresult-plugin.git","clone_url":"https://github.com/jenkinsci/cucumber-testresult-plugin.git","svn_url":"https://github.com/jenkinsci/cucumber-testresult-plugin","homepage":"","size":273,"stargazers_count":10,"watchers_count":10,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":2,"forks":20,"open_issues":2,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/pulls/8"},"html":{"href":"https://github.com/jenkinsci/cucumber-testresult-plugin/pull/8"},"issue":{"href":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/issues/8"},"comments":{"href":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/cucumber-testresult-plugin/statuses/4aefd3aa8a1c08c1367eade71784027c867602d6"}}}}
{"actor":{"display_login":"jtnord"}}