{"action":"created","comment":{"url":"https://api.github.com/repos/zap-labs/rejoiner/pulls/comments/229092907","pull_request_review_id":169510713,"id":229092907,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTA5MjkwNw==","diff_hunk":"@@ -0,0 +1,69 @@\n+#!/usr/bin/env groovy\n+\n+pipeline {\n+    agent { label 'microservices' }\n+    parameters {\n+        string(name: 'releaseVersion', defaultValue: '0', description: 'Version to Release')\n+        string(name: 'developmentVersion', defaultValue: '0-SNAPSHOT', description: 'Version to set after release')\n+        string(name: 'releaseDryRun', defaultValue: 'true', description: 'Simulate release')\n+        string(name: 'gitUser', defaultValue: 'jenkins', description: 'User for the git commit on release')\n+        string(name: 'gitEmail', defaultValue: 'jenkins@ziprealty.com', description: 'Email for the git commit on release')\n+    }\n+    stages {\n+        stage('Prepare Build') {\n+            steps {\n+                // grab info from pom file\n+                script {\n+                    pom = readMavenPom()\n+                    env.libraryName = pom.getArtifactId()\n+                    env.pomVersion = pom.getVersion()\n+                }\n+                deleteDir()\n+\n+                checkout([\n+                    $class: 'GitSCM',\n+                    branches: scm.branches,\n+                    extensions: scm.extensions + [[$class: 'LocalBranch']],\n+                    userRemoteConfigs: scm.userRemoteConfigs\n+                ])\n+            }\n+        }\n+        stage('Package') {\n+            steps {\n+                withMaven(maven: 'M3') {\n+                    sh 'mvn install integration-test'\n+                }\n+            }\n+        }\n+        stage('Deploy Artifacts') {\n+            when {\n+                branch \"master\"\n+            }\n+            steps {\n+                withMaven(maven: 'M3') {\n+                    sh 'mvn deploy -DskipTests=true'\n+                }\n+            }\n+        }\n+        stage('Release New Version') {\n+            when {\n+                expression {\n+                    env.BRANCH_NAME == 'master' && params.releaseVersion != '0' && params.developmentVersion != '0-SNAPSHOT'\n+                }\n+            }\n+            steps {\n+                withMaven(maven: 'M3') {\n+                    // todo: there's got to be a better way to set the user name and email","path":"rejoiner/Jenkinsfile","position":56,"original_position":56,"commit_id":"cf1cffad0d777e52ce0acc01e99c7c46ee4f8a6a","original_commit_id":"cf1cffad0d777e52ce0acc01e99c7c46ee4f8a6a","user":{"login":"AledDavies","id":660431,"node_id":"MDQ6VXNlcjY2MDQzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/660431?v=4","gravatar_id":"","url":"https://api.github.com/users/AledDavies","html_url":"https://github.com/AledDavies","followers_url":"https://api.github.com/users/AledDavies/followers","following_url":"https://api.github.com/users/AledDavies/following{/other_user}","gists_url":"https://api.github.com/users/AledDavies/gists{/gist_id}","starred_url":"https://api.github.com/users/AledDavies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AledDavies/subscriptions","organizations_url":"https://api.github.com/users/AledDavies/orgs","repos_url":"https://api.github.com/users/AledDavies/repos","events_url":"https://api.github.com/users/AledDavies/events{/privacy}","received_events_url":"https://api.github.com/users/AledDavies/received_events","type":"User","site_admin":false},"body":"You can use environment variables to set these.","created_at":"2018-10-29T20:48:43Z","updated_at":"2018-10-29T20:48:44Z","html_url":"https://github.com/zap-labs/rejoiner/pull/2#discussion_r229092907","pull_request_url":"https://api.github.com/repos/zap-labs/rejoiner/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/zap-labs/rejoiner/pulls/comments/229092907"},"html":{"href":"https://github.com/zap-labs/rejoiner/pull/2#discussion_r229092907"},"pull_request":{"href":"https://api.github.com/repos/zap-labs/rejoiner/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/zap-labs/rejoiner/pulls/2","id":226658768,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NjU4NzY4","html_url":"https://github.com/zap-labs/rejoiner/pull/2","diff_url":"https://github.com/zap-labs/rejoiner/pull/2.diff","patch_url":"https://github.com/zap-labs/rejoiner/pull/2.patch","issue_url":"https://api.github.com/repos/zap-labs/rejoiner/issues/2","number":2,"state":"open","locked":false,"title":"Changing group id to our standard company group id (com.zaplabs)","user":{"login":"dsborets","id":13074335,"node_id":"MDQ6VXNlcjEzMDc0MzM1","avatar_url":"https://avatars2.githubusercontent.com/u/13074335?v=4","gravatar_id":"","url":"https://api.github.com/users/dsborets","html_url":"https://github.com/dsborets","followers_url":"https://api.github.com/users/dsborets/followers","following_url":"https://api.github.com/users/dsborets/following{/other_user}","gists_url":"https://api.github.com/users/dsborets/gists{/gist_id}","starred_url":"https://api.github.com/users/dsborets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsborets/subscriptions","organizations_url":"https://api.github.com/users/dsborets/orgs","repos_url":"https://api.github.com/users/dsborets/repos","events_url":"https://api.github.com/users/dsborets/events{/privacy}","received_events_url":"https://api.github.com/users/dsborets/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-29T17:59:41Z","updated_at":"2018-10-29T20:48:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"58d83e32fbcebfbdb47f4d192e624e401b37ed3d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zap-labs/rejoiner/pulls/2/commits","review_comments_url":"https://api.github.com/repos/zap-labs/rejoiner/pulls/2/comments","review_comment_url":"https://api.github.com/repos/zap-labs/rejoiner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zap-labs/rejoiner/issues/2/comments","statuses_url":"https://api.github.com/repos/zap-labs/rejoiner/statuses/cf1cffad0d777e52ce0acc01e99c7c46ee4f8a6a","head":{"label":"zap-labs:changing-group-id","ref":"changing-group-id","sha":"cf1cffad0d777e52ce0acc01e99c7c46ee4f8a6a","user":{"login":"zap-labs","id":28767617,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NzY3NjE3","avatar_url":"https://avatars3.githubusercontent.com/u/28767617?v=4","gravatar_id":"","url":"https://api.github.com/users/zap-labs","html_url":"https://github.com/zap-labs","followers_url":"https://api.github.com/users/zap-labs/followers","following_url":"https://api.github.com/users/zap-labs/following{/other_user}","gists_url":"https://api.github.com/users/zap-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/zap-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zap-labs/subscriptions","organizations_url":"https://api.github.com/users/zap-labs/orgs","repos_url":"https://api.github.com/users/zap-labs/repos","events_url":"https://api.github.com/users/zap-labs/events{/privacy}","received_events_url":"https://api.github.com/users/zap-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":155253032,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUyNTMwMzI=","name":"rejoiner","full_name":"zap-labs/rejoiner","private":false,"owner":{"login":"zap-labs","id":28767617,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NzY3NjE3","avatar_url":"https://avatars3.githubusercontent.com/u/28767617?v=4","gravatar_id":"","url":"https://api.github.com/users/zap-labs","html_url":"https://github.com/zap-labs","followers_url":"https://api.github.com/users/zap-labs/followers","following_url":"https://api.github.com/users/zap-labs/following{/other_user}","gists_url":"https://api.github.com/users/zap-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/zap-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zap-labs/subscriptions","organizations_url":"https://api.github.com/users/zap-labs/orgs","repos_url":"https://api.github.com/users/zap-labs/repos","events_url":"https://api.github.com/users/zap-labs/events{/privacy}","received_events_url":"https://api.github.com/users/zap-labs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/zap-labs/rejoiner","description":"Generates a unified GraphQL schema from gRPC microservices and other Protobuf sources","fork":true,"url":"https://api.github.com/repos/zap-labs/rejoiner","forks_url":"https://api.github.com/repos/zap-labs/rejoiner/forks","keys_url":"https://api.github.com/repos/zap-labs/rejoiner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zap-labs/rejoiner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zap-labs/rejoiner/teams","hooks_url":"https://api.github.com/repos/zap-labs/rejoiner/hooks","issue_events_url":"https://api.github.com/repos/zap-labs/rejoiner/issues/events{/number}","events_url":"https://api.github.com/repos/zap-labs/rejoiner/events","assignees_url":"https://api.github.com/repos/zap-labs/rejoiner/assignees{/user}","branches_url":"https://api.github.com/repos/zap-labs/rejoiner/branches{/branch}","tags_url":"https://api.github.com/repos/zap-labs/rejoiner/tags","blobs_url":"https://api.github.com/repos/zap-labs/rejoiner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zap-labs/rejoiner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zap-labs/rejoiner/git/refs{/sha}","trees_url":"https://api.github.com/repos/zap-labs/rejoiner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zap-labs/rejoiner/statuses/{sha}","languages_url":"https://api.github.com/repos/zap-labs/rejoiner/languages","stargazers_url":"https://api.github.com/repos/zap-labs/rejoiner/stargazers","contributors_url":"https://api.github.com/repos/zap-labs/rejoiner/contributors","subscribers_url":"https://api.github.com/repos/zap-labs/rejoiner/subscribers","subscription_url":"https://api.github.com/repos/zap-labs/rejoiner/subscription","commits_url":"https://api.github.com/repos/zap-labs/rejoiner/commits{/sha}","git_commits_url":"https://api.github.com/repos/zap-labs/rejoiner/git/commits{/sha}","comments_url":"https://api.github.com/repos/zap-labs/rejoiner/comments{/number}","issue_comment_url":"https://api.github.com/repos/zap-labs/rejoiner/issues/comments{/number}","contents_url":"https://api.github.com/repos/zap-labs/rejoiner/contents/{+path}","compare_url":"https://api.github.com/repos/zap-labs/rejoiner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zap-labs/rejoiner/merges","archive_url":"https://api.github.com/repos/zap-labs/rejoiner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zap-labs/rejoiner/downloads","issues_url":"https://api.github.com/repos/zap-labs/rejoiner/issues{/number}","pulls_url":"https://api.github.com/repos/zap-labs/rejoiner/pulls{/number}","milestones_url":"https://api.github.com/repos/zap-labs/rejoiner/milestones{/number}","notifications_url":"https://api.github.com/repos/zap-labs/rejoiner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zap-labs/rejoiner/labels{/name}","releases_url":"https://api.github.com/repos/zap-labs/rejoiner/releases{/id}","deployments_url":"https://api.github.com/repos/zap-labs/rejoiner/deployments","created_at":"2018-10-29T17:29:10Z","updated_at":"2018-10-29T17:57:20Z","pushed_at":"2018-10-29T18:36:14Z","git_url":"git://github.com/zap-labs/rejoiner.git","ssh_url":"git@github.com:zap-labs/rejoiner.git","clone_url":"https://github.com/zap-labs/rejoiner.git","svn_url":"https://github.com/zap-labs/rejoiner","homepage":"http://rejoiner.io","size":533,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"zap-labs:master","ref":"master","sha":"521a40fe4200042b21c742865a0fd54d036604ba","user":{"login":"zap-labs","id":28767617,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NzY3NjE3","avatar_url":"https://avatars3.githubusercontent.com/u/28767617?v=4","gravatar_id":"","url":"https://api.github.com/users/zap-labs","html_url":"https://github.com/zap-labs","followers_url":"https://api.github.com/users/zap-labs/followers","following_url":"https://api.github.com/users/zap-labs/following{/other_user}","gists_url":"https://api.github.com/users/zap-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/zap-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zap-labs/subscriptions","organizations_url":"https://api.github.com/users/zap-labs/orgs","repos_url":"https://api.github.com/users/zap-labs/repos","events_url":"https://api.github.com/users/zap-labs/events{/privacy}","received_events_url":"https://api.github.com/users/zap-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":155253032,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUyNTMwMzI=","name":"rejoiner","full_name":"zap-labs/rejoiner","private":false,"owner":{"login":"zap-labs","id":28767617,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NzY3NjE3","avatar_url":"https://avatars3.githubusercontent.com/u/28767617?v=4","gravatar_id":"","url":"https://api.github.com/users/zap-labs","html_url":"https://github.com/zap-labs","followers_url":"https://api.github.com/users/zap-labs/followers","following_url":"https://api.github.com/users/zap-labs/following{/other_user}","gists_url":"https://api.github.com/users/zap-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/zap-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zap-labs/subscriptions","organizations_url":"https://api.github.com/users/zap-labs/orgs","repos_url":"https://api.github.com/users/zap-labs/repos","events_url":"https://api.github.com/users/zap-labs/events{/privacy}","received_events_url":"https://api.github.com/users/zap-labs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/zap-labs/rejoiner","description":"Generates a unified GraphQL schema from gRPC microservices and other Protobuf sources","fork":true,"url":"https://api.github.com/repos/zap-labs/rejoiner","forks_url":"https://api.github.com/repos/zap-labs/rejoiner/forks","keys_url":"https://api.github.com/repos/zap-labs/rejoiner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zap-labs/rejoiner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zap-labs/rejoiner/teams","hooks_url":"https://api.github.com/repos/zap-labs/rejoiner/hooks","issue_events_url":"https://api.github.com/repos/zap-labs/rejoiner/issues/events{/number}","events_url":"https://api.github.com/repos/zap-labs/rejoiner/events","assignees_url":"https://api.github.com/repos/zap-labs/rejoiner/assignees{/user}","branches_url":"https://api.github.com/repos/zap-labs/rejoiner/branches{/branch}","tags_url":"https://api.github.com/repos/zap-labs/rejoiner/tags","blobs_url":"https://api.github.com/repos/zap-labs/rejoiner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zap-labs/rejoiner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zap-labs/rejoiner/git/refs{/sha}","trees_url":"https://api.github.com/repos/zap-labs/rejoiner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zap-labs/rejoiner/statuses/{sha}","languages_url":"https://api.github.com/repos/zap-labs/rejoiner/languages","stargazers_url":"https://api.github.com/repos/zap-labs/rejoiner/stargazers","contributors_url":"https://api.github.com/repos/zap-labs/rejoiner/contributors","subscribers_url":"https://api.github.com/repos/zap-labs/rejoiner/subscribers","subscription_url":"https://api.github.com/repos/zap-labs/rejoiner/subscription","commits_url":"https://api.github.com/repos/zap-labs/rejoiner/commits{/sha}","git_commits_url":"https://api.github.com/repos/zap-labs/rejoiner/git/commits{/sha}","comments_url":"https://api.github.com/repos/zap-labs/rejoiner/comments{/number}","issue_comment_url":"https://api.github.com/repos/zap-labs/rejoiner/issues/comments{/number}","contents_url":"https://api.github.com/repos/zap-labs/rejoiner/contents/{+path}","compare_url":"https://api.github.com/repos/zap-labs/rejoiner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zap-labs/rejoiner/merges","archive_url":"https://api.github.com/repos/zap-labs/rejoiner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zap-labs/rejoiner/downloads","issues_url":"https://api.github.com/repos/zap-labs/rejoiner/issues{/number}","pulls_url":"https://api.github.com/repos/zap-labs/rejoiner/pulls{/number}","milestones_url":"https://api.github.com/repos/zap-labs/rejoiner/milestones{/number}","notifications_url":"https://api.github.com/repos/zap-labs/rejoiner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zap-labs/rejoiner/labels{/name}","releases_url":"https://api.github.com/repos/zap-labs/rejoiner/releases{/id}","deployments_url":"https://api.github.com/repos/zap-labs/rejoiner/deployments","created_at":"2018-10-29T17:29:10Z","updated_at":"2018-10-29T17:57:20Z","pushed_at":"2018-10-29T18:36:14Z","git_url":"git://github.com/zap-labs/rejoiner.git","ssh_url":"git@github.com:zap-labs/rejoiner.git","clone_url":"https://github.com/zap-labs/rejoiner.git","svn_url":"https://github.com/zap-labs/rejoiner","homepage":"http://rejoiner.io","size":533,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zap-labs/rejoiner/pulls/2"},"html":{"href":"https://github.com/zap-labs/rejoiner/pull/2"},"issue":{"href":"https://api.github.com/repos/zap-labs/rejoiner/issues/2"},"comments":{"href":"https://api.github.com/repos/zap-labs/rejoiner/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/zap-labs/rejoiner/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/zap-labs/rejoiner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zap-labs/rejoiner/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/zap-labs/rejoiner/statuses/cf1cffad0d777e52ce0acc01e99c7c46ee4f8a6a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"AledDavies"}}