{"action":"created","comment":{"url":"https://api.github.com/repos/omisego/elixir-omg/pulls/comments/229603216","pull_request_review_id":170138998,"id":229603216,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTYwMzIxNg==","diff_hunk":"@@ -30,14 +40,18 @@ podTemplate(\n         }\n \n         stage('Unit test') {\n-            withEnv([\"MIX_ENV=test\"]) {\n+            container('postgresql') {\n+                sh(\"pg_isready -t 60 -h localhost -p 5432\")\n+            }\n+\n+            withEnv([\"MIX_ENV=test\", \"DATABASE_URL=${DATABASE_URL}\"]) {\n                 sh(\"mix test\")\n             }\n         }\n \n         stage('Integration test') {\n            withCredentials([string(credentialsId: 'elixir-omg_coveralls', variable: 'ELIXIR_OMG_COVERALLS')]){\n-                withEnv([\"MIX_ENV=test\", \"SHELL=/bin/bash\"]) {\n+                withEnv([\"MIX_ENV=test\", \"SHELL=/bin/bash\", \"DATABASE_URL=${DATABASE_URL}\"]) {","path":"Jenkinsfile","position":45,"original_position":45,"commit_id":"95a9217d068e101c1b827527880512736503a9e9","original_commit_id":"95a9217d068e101c1b827527880512736503a9e9","user":{"login":"purbanow","id":37292156,"node_id":"MDQ6VXNlcjM3MjkyMTU2","avatar_url":"https://avatars3.githubusercontent.com/u/37292156?v=4","gravatar_id":"","url":"https://api.github.com/users/purbanow","html_url":"https://github.com/purbanow","followers_url":"https://api.github.com/users/purbanow/followers","following_url":"https://api.github.com/users/purbanow/following{/other_user}","gists_url":"https://api.github.com/users/purbanow/gists{/gist_id}","starred_url":"https://api.github.com/users/purbanow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purbanow/subscriptions","organizations_url":"https://api.github.com/users/purbanow/orgs","repos_url":"https://api.github.com/users/purbanow/repos","events_url":"https://api.github.com/users/purbanow/events{/privacy}","received_events_url":"https://api.github.com/users/purbanow/received_events","type":"User","site_admin":false},"body":"It is necessary. ","created_at":"2018-10-31T08:41:31Z","updated_at":"2018-10-31T08:41:31Z","html_url":"https://github.com/omisego/elixir-omg/pull/253#discussion_r229603216","pull_request_url":"https://api.github.com/repos/omisego/elixir-omg/pulls/253","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/omisego/elixir-omg/pulls/comments/229603216"},"html":{"href":"https://github.com/omisego/elixir-omg/pull/253#discussion_r229603216"},"pull_request":{"href":"https://api.github.com/repos/omisego/elixir-omg/pulls/253"}},"in_reply_to_id":229586893},"pull_request":{"url":"https://api.github.com/repos/omisego/elixir-omg/pulls/253","id":226476916,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NDc2OTE2","html_url":"https://github.com/omisego/elixir-omg/pull/253","diff_url":"https://github.com/omisego/elixir-omg/pull/253.diff","patch_url":"https://github.com/omisego/elixir-omg/pull/253.patch","issue_url":"https://api.github.com/repos/omisego/elixir-omg/issues/253","number":253,"state":"open","locked":false,"title":"Feature/omg 245 run tests on (real) postgres database","user":{"login":"purbanow","id":37292156,"node_id":"MDQ6VXNlcjM3MjkyMTU2","avatar_url":"https://avatars3.githubusercontent.com/u/37292156?v=4","gravatar_id":"","url":"https://api.github.com/users/purbanow","html_url":"https://github.com/purbanow","followers_url":"https://api.github.com/users/purbanow/followers","following_url":"https://api.github.com/users/purbanow/following{/other_user}","gists_url":"https://api.github.com/users/purbanow/gists{/gist_id}","starred_url":"https://api.github.com/users/purbanow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purbanow/subscriptions","organizations_url":"https://api.github.com/users/purbanow/orgs","repos_url":"https://api.github.com/users/purbanow/repos","events_url":"https://api.github.com/users/purbanow/events{/privacy}","received_events_url":"https://api.github.com/users/purbanow/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-29T08:43:50Z","updated_at":"2018-10-31T08:41:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ca706e24281d95bb368765d075d83657e9e67d1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/omisego/elixir-omg/pulls/253/commits","review_comments_url":"https://api.github.com/repos/omisego/elixir-omg/pulls/253/comments","review_comment_url":"https://api.github.com/repos/omisego/elixir-omg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/omisego/elixir-omg/issues/253/comments","statuses_url":"https://api.github.com/repos/omisego/elixir-omg/statuses/95a9217d068e101c1b827527880512736503a9e9","head":{"label":"omisego:feature/OMG-245_Run_tests_on_(real)_postgres_database","ref":"feature/OMG-245_Run_tests_on_(real)_postgres_database","sha":"95a9217d068e101c1b827527880512736503a9e9","user":{"login":"omisego","id":31544276,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNTQ0Mjc2","avatar_url":"https://avatars3.githubusercontent.com/u/31544276?v=4","gravatar_id":"","url":"https://api.github.com/users/omisego","html_url":"https://github.com/omisego","followers_url":"https://api.github.com/users/omisego/followers","following_url":"https://api.github.com/users/omisego/following{/other_user}","gists_url":"https://api.github.com/users/omisego/gists{/gist_id}","starred_url":"https://api.github.com/users/omisego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omisego/subscriptions","organizations_url":"https://api.github.com/users/omisego/orgs","repos_url":"https://api.github.com/users/omisego/repos","events_url":"https://api.github.com/users/omisego/events{/privacy}","received_events_url":"https://api.github.com/users/omisego/received_events","type":"Organization","site_admin":false},"repo":{"id":123528600,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM1Mjg2MDA=","name":"elixir-omg","full_name":"omisego/elixir-omg","private":false,"owner":{"login":"omisego","id":31544276,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNTQ0Mjc2","avatar_url":"https://avatars3.githubusercontent.com/u/31544276?v=4","gravatar_id":"","url":"https://api.github.com/users/omisego","html_url":"https://github.com/omisego","followers_url":"https://api.github.com/users/omisego/followers","following_url":"https://api.github.com/users/omisego/following{/other_user}","gists_url":"https://api.github.com/users/omisego/gists{/gist_id}","starred_url":"https://api.github.com/users/omisego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omisego/subscriptions","organizations_url":"https://api.github.com/users/omisego/orgs","repos_url":"https://api.github.com/users/omisego/repos","events_url":"https://api.github.com/users/omisego/events{/privacy}","received_events_url":"https://api.github.com/users/omisego/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/omisego/elixir-omg","description":null,"fork":false,"url":"https://api.github.com/repos/omisego/elixir-omg","forks_url":"https://api.github.com/repos/omisego/elixir-omg/forks","keys_url":"https://api.github.com/repos/omisego/elixir-omg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omisego/elixir-omg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omisego/elixir-omg/teams","hooks_url":"https://api.github.com/repos/omisego/elixir-omg/hooks","issue_events_url":"https://api.github.com/repos/omisego/elixir-omg/issues/events{/number}","events_url":"https://api.github.com/repos/omisego/elixir-omg/events","assignees_url":"https://api.github.com/repos/omisego/elixir-omg/assignees{/user}","branches_url":"https://api.github.com/repos/omisego/elixir-omg/branches{/branch}","tags_url":"https://api.github.com/repos/omisego/elixir-omg/tags","blobs_url":"https://api.github.com/repos/omisego/elixir-omg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omisego/elixir-omg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omisego/elixir-omg/git/refs{/sha}","trees_url":"https://api.github.com/repos/omisego/elixir-omg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omisego/elixir-omg/statuses/{sha}","languages_url":"https://api.github.com/repos/omisego/elixir-omg/languages","stargazers_url":"https://api.github.com/repos/omisego/elixir-omg/stargazers","contributors_url":"https://api.github.com/repos/omisego/elixir-omg/contributors","subscribers_url":"https://api.github.com/repos/omisego/elixir-omg/subscribers","subscription_url":"https://api.github.com/repos/omisego/elixir-omg/subscription","commits_url":"https://api.github.com/repos/omisego/elixir-omg/commits{/sha}","git_commits_url":"https://api.github.com/repos/omisego/elixir-omg/git/commits{/sha}","comments_url":"https://api.github.com/repos/omisego/elixir-omg/comments{/number}","issue_comment_url":"https://api.github.com/repos/omisego/elixir-omg/issues/comments{/number}","contents_url":"https://api.github.com/repos/omisego/elixir-omg/contents/{+path}","compare_url":"https://api.github.com/repos/omisego/elixir-omg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omisego/elixir-omg/merges","archive_url":"https://api.github.com/repos/omisego/elixir-omg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omisego/elixir-omg/downloads","issues_url":"https://api.github.com/repos/omisego/elixir-omg/issues{/number}","pulls_url":"https://api.github.com/repos/omisego/elixir-omg/pulls{/number}","milestones_url":"https://api.github.com/repos/omisego/elixir-omg/milestones{/number}","notifications_url":"https://api.github.com/repos/omisego/elixir-omg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omisego/elixir-omg/labels{/name}","releases_url":"https://api.github.com/repos/omisego/elixir-omg/releases{/id}","deployments_url":"https://api.github.com/repos/omisego/elixir-omg/deployments","created_at":"2018-03-02T04:05:24Z","updated_at":"2018-10-30T15:35:04Z","pushed_at":"2018-10-31T07:51:58Z","git_url":"git://github.com/omisego/elixir-omg.git","ssh_url":"git@github.com:omisego/elixir-omg.git","clone_url":"https://github.com/omisego/elixir-omg.git","svn_url":"https://github.com/omisego/elixir-omg","homepage":null,"size":5653,"stargazers_count":100,"watchers_count":100,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":11,"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":13,"open_issues":11,"watchers":100,"default_branch":"develop"}},"base":{"label":"omisego:release/v0.0.1","ref":"release/v0.0.1","sha":"07c55b728ad4c87a712d447b357cb23d98c0a837","user":{"login":"omisego","id":31544276,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNTQ0Mjc2","avatar_url":"https://avatars3.githubusercontent.com/u/31544276?v=4","gravatar_id":"","url":"https://api.github.com/users/omisego","html_url":"https://github.com/omisego","followers_url":"https://api.github.com/users/omisego/followers","following_url":"https://api.github.com/users/omisego/following{/other_user}","gists_url":"https://api.github.com/users/omisego/gists{/gist_id}","starred_url":"https://api.github.com/users/omisego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omisego/subscriptions","organizations_url":"https://api.github.com/users/omisego/orgs","repos_url":"https://api.github.com/users/omisego/repos","events_url":"https://api.github.com/users/omisego/events{/privacy}","received_events_url":"https://api.github.com/users/omisego/received_events","type":"Organization","site_admin":false},"repo":{"id":123528600,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM1Mjg2MDA=","name":"elixir-omg","full_name":"omisego/elixir-omg","private":false,"owner":{"login":"omisego","id":31544276,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNTQ0Mjc2","avatar_url":"https://avatars3.githubusercontent.com/u/31544276?v=4","gravatar_id":"","url":"https://api.github.com/users/omisego","html_url":"https://github.com/omisego","followers_url":"https://api.github.com/users/omisego/followers","following_url":"https://api.github.com/users/omisego/following{/other_user}","gists_url":"https://api.github.com/users/omisego/gists{/gist_id}","starred_url":"https://api.github.com/users/omisego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omisego/subscriptions","organizations_url":"https://api.github.com/users/omisego/orgs","repos_url":"https://api.github.com/users/omisego/repos","events_url":"https://api.github.com/users/omisego/events{/privacy}","received_events_url":"https://api.github.com/users/omisego/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/omisego/elixir-omg","description":null,"fork":false,"url":"https://api.github.com/repos/omisego/elixir-omg","forks_url":"https://api.github.com/repos/omisego/elixir-omg/forks","keys_url":"https://api.github.com/repos/omisego/elixir-omg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omisego/elixir-omg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omisego/elixir-omg/teams","hooks_url":"https://api.github.com/repos/omisego/elixir-omg/hooks","issue_events_url":"https://api.github.com/repos/omisego/elixir-omg/issues/events{/number}","events_url":"https://api.github.com/repos/omisego/elixir-omg/events","assignees_url":"https://api.github.com/repos/omisego/elixir-omg/assignees{/user}","branches_url":"https://api.github.com/repos/omisego/elixir-omg/branches{/branch}","tags_url":"https://api.github.com/repos/omisego/elixir-omg/tags","blobs_url":"https://api.github.com/repos/omisego/elixir-omg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omisego/elixir-omg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omisego/elixir-omg/git/refs{/sha}","trees_url":"https://api.github.com/repos/omisego/elixir-omg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omisego/elixir-omg/statuses/{sha}","languages_url":"https://api.github.com/repos/omisego/elixir-omg/languages","stargazers_url":"https://api.github.com/repos/omisego/elixir-omg/stargazers","contributors_url":"https://api.github.com/repos/omisego/elixir-omg/contributors","subscribers_url":"https://api.github.com/repos/omisego/elixir-omg/subscribers","subscription_url":"https://api.github.com/repos/omisego/elixir-omg/subscription","commits_url":"https://api.github.com/repos/omisego/elixir-omg/commits{/sha}","git_commits_url":"https://api.github.com/repos/omisego/elixir-omg/git/commits{/sha}","comments_url":"https://api.github.com/repos/omisego/elixir-omg/comments{/number}","issue_comment_url":"https://api.github.com/repos/omisego/elixir-omg/issues/comments{/number}","contents_url":"https://api.github.com/repos/omisego/elixir-omg/contents/{+path}","compare_url":"https://api.github.com/repos/omisego/elixir-omg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omisego/elixir-omg/merges","archive_url":"https://api.github.com/repos/omisego/elixir-omg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omisego/elixir-omg/downloads","issues_url":"https://api.github.com/repos/omisego/elixir-omg/issues{/number}","pulls_url":"https://api.github.com/repos/omisego/elixir-omg/pulls{/number}","milestones_url":"https://api.github.com/repos/omisego/elixir-omg/milestones{/number}","notifications_url":"https://api.github.com/repos/omisego/elixir-omg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omisego/elixir-omg/labels{/name}","releases_url":"https://api.github.com/repos/omisego/elixir-omg/releases{/id}","deployments_url":"https://api.github.com/repos/omisego/elixir-omg/deployments","created_at":"2018-03-02T04:05:24Z","updated_at":"2018-10-30T15:35:04Z","pushed_at":"2018-10-31T07:51:58Z","git_url":"git://github.com/omisego/elixir-omg.git","ssh_url":"git@github.com:omisego/elixir-omg.git","clone_url":"https://github.com/omisego/elixir-omg.git","svn_url":"https://github.com/omisego/elixir-omg","homepage":null,"size":5653,"stargazers_count":100,"watchers_count":100,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":11,"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":13,"open_issues":11,"watchers":100,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/omisego/elixir-omg/pulls/253"},"html":{"href":"https://github.com/omisego/elixir-omg/pull/253"},"issue":{"href":"https://api.github.com/repos/omisego/elixir-omg/issues/253"},"comments":{"href":"https://api.github.com/repos/omisego/elixir-omg/issues/253/comments"},"review_comments":{"href":"https://api.github.com/repos/omisego/elixir-omg/pulls/253/comments"},"review_comment":{"href":"https://api.github.com/repos/omisego/elixir-omg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/omisego/elixir-omg/pulls/253/commits"},"statuses":{"href":"https://api.github.com/repos/omisego/elixir-omg/statuses/95a9217d068e101c1b827527880512736503a9e9"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"purbanow"}}