{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/pulls/comments/191731721","pull_request_review_id":124358588,"id":191731721,"diff_hunk":"@@ -0,0 +1,203 @@\n+package io.jenkins.plugins.sprp;\n+\n+import io.jenkins.plugins.sprp.models.Agent;\n+import io.jenkins.plugins.sprp.models.ArtifactPublishingConfig;\n+import io.jenkins.plugins.sprp.models.Stage;\n+import org.apache.commons.lang.StringUtils;\n+\n+import java.util.ArrayList;\n+import java.util.HashMap;\n+\n+public class PipelineSnippetGenerator {\n+    PipelineSnippetGenerator(){\n+    }\n+\n+    public String shellScritp(ArrayList<String> paths){\n+        StringBuilder snippet;\n+        snippet = new StringBuilder(\"script {\\n\" + \"\\tif (isUnix()) {\\n\");\n+\n+        for(String p: paths)\n+            snippet.append(\"\\t\\tsh '\").append(p).append(\".sh\").append(\"'\\n\");\n+\n+        snippet.append(\"\\t} else {\\n\");\n+\n+        for(String p: paths)\n+            snippet.append(\"\\t\\tbat '\").append(p).append(\".bat\").append(\"'\\n\");\n+\n+        snippet.append(\"\\t}\\n\" + \"}\\n\");\n+\n+        return snippet.toString();\n+\n+    }\n+\n+    // This function will add tabs at the beginning of each line\n+    public String addTabs(String script, int numberOfTabs){\n+        String tabs = StringUtils.repeat(\"\\t\", numberOfTabs);\n+\n+        script = script.replace(\"\\n\", \"\\n\" + tabs);","path":"src/main/java/io/jenkins/plugins/sprp/PipelineSnippetGenerator.java","position":37,"original_position":37,"commit_id":"e570dd3b48fafff4a58615afd8ead7a9daea46e5","original_commit_id":"e570dd3b48fafff4a58615afd8ead7a9daea46e5","user":{"login":"gautamabhishek46","id":19909597,"avatar_url":"https://avatars0.githubusercontent.com/u/19909597?v=4","gravatar_id":"","url":"https://api.github.com/users/gautamabhishek46","html_url":"https://github.com/gautamabhishek46","followers_url":"https://api.github.com/users/gautamabhishek46/followers","following_url":"https://api.github.com/users/gautamabhishek46/following{/other_user}","gists_url":"https://api.github.com/users/gautamabhishek46/gists{/gist_id}","starred_url":"https://api.github.com/users/gautamabhishek46/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gautamabhishek46/subscriptions","organizations_url":"https://api.github.com/users/gautamabhishek46/orgs","repos_url":"https://api.github.com/users/gautamabhishek46/repos","events_url":"https://api.github.com/users/gautamabhishek46/events{/privacy}","received_events_url":"https://api.github.com/users/gautamabhishek46/received_events","type":"User","site_admin":false},"body":"I will take a look at Thymeleaf.","created_at":"2018-05-30T11:30:12Z","updated_at":"2018-05-30T11:30:12Z","html_url":"https://github.com/jenkinsci/simple-pull-request-job-plugin/pull/6#discussion_r191731721","pull_request_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/pulls/6","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/pulls/comments/191731721"},"html":{"href":"https://github.com/jenkinsci/simple-pull-request-job-plugin/pull/6#discussion_r191731721"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/pulls/6"}},"in_reply_to_id":191658084},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/pulls/6","id":191045871,"html_url":"https://github.com/jenkinsci/simple-pull-request-job-plugin/pull/6","diff_url":"https://github.com/jenkinsci/simple-pull-request-job-plugin/pull/6.diff","patch_url":"https://github.com/jenkinsci/simple-pull-request-job-plugin/pull/6.patch","issue_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/issues/6","number":6,"state":"open","locked":false,"title":"Yaml to Pipeline ","user":{"login":"gautamabhishek46","id":19909597,"avatar_url":"https://avatars0.githubusercontent.com/u/19909597?v=4","gravatar_id":"","url":"https://api.github.com/users/gautamabhishek46","html_url":"https://github.com/gautamabhishek46","followers_url":"https://api.github.com/users/gautamabhishek46/followers","following_url":"https://api.github.com/users/gautamabhishek46/following{/other_user}","gists_url":"https://api.github.com/users/gautamabhishek46/gists{/gist_id}","starred_url":"https://api.github.com/users/gautamabhishek46/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gautamabhishek46/subscriptions","organizations_url":"https://api.github.com/users/gautamabhishek46/orgs","repos_url":"https://api.github.com/users/gautamabhishek46/repos","events_url":"https://api.github.com/users/gautamabhishek46/events{/privacy}","received_events_url":"https://api.github.com/users/gautamabhishek46/received_events","type":"User","site_admin":false},"body":"Pipeline prototype: \r\n\r\n1. Example format is described below.\r\n2. As the plugin will be calling scripts mainly, at this point calling scripts is supported.\r\n3. [How to specify scripts to run](https://jenkins.io/projects/gsoc/2018/simple-pull-request-job-plugin/).\r\n4. For now at stage user can specify success, failure and always sections. The scripts that user will list in \"script\" section of a stage will be called first and then on the basis of \"script\" section status success, failure and always will be called.\r\n\r\n**Task List**\r\n\r\n- [x] Git wrappers: fetch, clone, checkout, merge, push\r\n- [x] Archive Artifacts\r\n- [x] Publish Artifacts\r\n- [ ] Publish results\r\n- [x] Support Docker and dockerfile specifications.\r\n\r\nThe YAML file and the corresponding pipeline code generated by the Plugin.\r\n\r\n**Jenkinsfile.yaml**\r\n```\r\ngitCredentialId: dummyGitRepo\r\nartifactPublishingConfig:\r\n    host: 192.32.52.12\r\n    user: user53\r\n    credentialId: dummyGitRepo\r\n\r\nagent:\r\n    dockerImage: docker-image\r\n    label: linux\r\n    customWorkspace: scripts/\r\n    reuseNode: true\r\n\r\n#buildResultPaths:\r\n#    - path-1\r\n\r\n#testResultPaths:\r\n#    - path-1\r\n\r\nstages:\r\n    - name: First\r\n      scripts:\r\n        -   ./scripts/hello\r\n    - name: Build\r\n      scripts:\r\n        -   ./scripts/hello\r\n    - name: Tests\r\n      scripts:\r\n        -   ./scripts/hello\r\n\r\narchiveArtifacts:\r\n    - Jenkinsfile.yaml\r\n    - scripts/hello.sh\r\n\r\npublishArtifacts:\r\n    - from: Jenkinsfile.yaml\r\n      to: ~/archives\r\n    - from: scripts/hello.sh\r\n      to: ~/archives\r\n```\r\n\r\n**Pipeline code generated**\r\n```\r\npipeline {\r\n\tagent {\r\n\t\tdocker {\r\n\t\t\timage 'docker-image'\r\n\t\t\talwaysPull false\r\n\t\t\tlabel 'linux'\r\n\t\t\tcustomWorkspace 'scripts/'\r\n\t\t\treuseNode true\r\n\t\t}\r\n\t}\r\n\tstages {\r\n\t\tstage('First') {\r\n\t\t\tsteps {\r\n\t\t\t\tscript {\r\n\t\t\t\t\tif (isUnix()) {\r\n\t\t\t\t\t\tsh './scripts/hello.sh'\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tbat './scripts/hello.bat'\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tstage('Build') {\r\n\t\t\tsteps {\r\n\t\t\t\tscript {\r\n\t\t\t\t\tif (isUnix()) {\r\n\t\t\t\t\t\tsh './scripts/hello.sh'\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tbat './scripts/hello.bat'\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tpost {\r\n\t\t\t\tsuccess {\r\n\t\t\t\t\tarchiveArtifacts artifacts: 'Jenkinsfile.yaml'\r\n\t\t\t\t\tarchiveArtifacts artifacts: 'scripts/hello.sh'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tstage('Tests') {\r\n\t\t\tsteps {\r\n\t\t\t\tscript {\r\n\t\t\t\t\tif (isUnix()) {\r\n\t\t\t\t\t\tsh './scripts/hello.sh'\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tbat './scripts/hello.bat'\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tstage('Publish Artifact') {\r\n\t\t\tsteps {\r\n\t\t\t\twithCredentials([file(credentialsId: 'dummyGitRepo', variable: 'FILE')]) {\r\n\t\t\t\t\tsh 'scp -i $FILE Jenkinsfile.yaml user53@192.32.52.12:~/archives'\r\n\t\t\t\t\tsh 'scp -i $FILE scripts/hello.sh user53@192.32.52.12:~/archives'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n```","created_at":"2018-05-29T06:41:07Z","updated_at":"2018-05-30T11:30:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c39d28080c27ee77c9a2d7cfcbe74f3ef603fee","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/pulls/6/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/pulls/6/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/issues/6/comments","statuses_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/statuses/e570dd3b48fafff4a58615afd8ead7a9daea46e5","head":{"label":"gautamabhishek46:SnippetGenerator","ref":"SnippetGenerator","sha":"e570dd3b48fafff4a58615afd8ead7a9daea46e5","user":{"login":"gautamabhishek46","id":19909597,"avatar_url":"https://avatars0.githubusercontent.com/u/19909597?v=4","gravatar_id":"","url":"https://api.github.com/users/gautamabhishek46","html_url":"https://github.com/gautamabhishek46","followers_url":"https://api.github.com/users/gautamabhishek46/followers","following_url":"https://api.github.com/users/gautamabhishek46/following{/other_user}","gists_url":"https://api.github.com/users/gautamabhishek46/gists{/gist_id}","starred_url":"https://api.github.com/users/gautamabhishek46/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gautamabhishek46/subscriptions","organizations_url":"https://api.github.com/users/gautamabhishek46/orgs","repos_url":"https://api.github.com/users/gautamabhishek46/repos","events_url":"https://api.github.com/users/gautamabhishek46/events{/privacy}","received_events_url":"https://api.github.com/users/gautamabhishek46/received_events","type":"User","site_admin":false},"repo":{"id":132992196,"name":"simple-pull-request-job-plugin","full_name":"gautamabhishek46/simple-pull-request-job-plugin","owner":{"login":"gautamabhishek46","id":19909597,"avatar_url":"https://avatars0.githubusercontent.com/u/19909597?v=4","gravatar_id":"","url":"https://api.github.com/users/gautamabhishek46","html_url":"https://github.com/gautamabhishek46","followers_url":"https://api.github.com/users/gautamabhishek46/followers","following_url":"https://api.github.com/users/gautamabhishek46/following{/other_user}","gists_url":"https://api.github.com/users/gautamabhishek46/gists{/gist_id}","starred_url":"https://api.github.com/users/gautamabhishek46/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gautamabhishek46/subscriptions","organizations_url":"https://api.github.com/users/gautamabhishek46/orgs","repos_url":"https://api.github.com/users/gautamabhishek46/repos","events_url":"https://api.github.com/users/gautamabhishek46/events{/privacy}","received_events_url":"https://api.github.com/users/gautamabhishek46/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gautamabhishek46/simple-pull-request-job-plugin","description":null,"fork":true,"url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin","forks_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/forks","keys_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/teams","hooks_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/hooks","issue_events_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/events","assignees_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/tags","blobs_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/languages","stargazers_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/stargazers","contributors_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/contributors","subscribers_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/subscribers","subscription_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/subscription","commits_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/merges","archive_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/downloads","issues_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/labels{/name}","releases_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/gautamabhishek46/simple-pull-request-job-plugin/deployments","created_at":"2018-05-11T05:10:44Z","updated_at":"2018-05-11T05:10:45Z","pushed_at":"2018-05-29T13:19:09Z","git_url":"git://github.com/gautamabhishek46/simple-pull-request-job-plugin.git","ssh_url":"git@github.com:gautamabhishek46/simple-pull-request-job-plugin.git","clone_url":"https://github.com/gautamabhishek46/simple-pull-request-job-plugin.git","svn_url":"https://github.com/gautamabhishek46/simple-pull-request-job-plugin","homepage":null,"size":78,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"7ba9a6672e40613b2e83ca3fdb4482e5ed3e0297","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars0.githubusercontent.com/u/107424?v=4","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":131205228,"name":"simple-pull-request-job-plugin","full_name":"jenkinsci/simple-pull-request-job-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars0.githubusercontent.com/u/107424?v=4","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/simple-pull-request-job-plugin","description":null,"fork":false,"url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin","forks_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/deployments","created_at":"2018-04-26T20:08:02Z","updated_at":"2018-05-26T08:33:52Z","pushed_at":"2018-05-29T13:19:10Z","git_url":"git://github.com/jenkinsci/simple-pull-request-job-plugin.git","ssh_url":"git@github.com:jenkinsci/simple-pull-request-job-plugin.git","clone_url":"https://github.com/jenkinsci/simple-pull-request-job-plugin.git","svn_url":"https://github.com/jenkinsci/simple-pull-request-job-plugin","homepage":null,"size":36,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/pulls/6"},"html":{"href":"https://github.com/jenkinsci/simple-pull-request-job-plugin/pull/6"},"issue":{"href":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/issues/6"},"comments":{"href":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/simple-pull-request-job-plugin/statuses/e570dd3b48fafff4a58615afd8ead7a9daea46e5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gautamabhishek46"}}