{"action":"created","comment":{"url":"https://api.github.com/repos/osiam/connector4java/pulls/comments/50968005","id":50968005,"diff_hunk":"@@ -8,8 +11,5 @@ test:\n     - mkdir -p $CIRCLE_TEST_REPORTS/junit/\n     - find . -type f -regex \".*/target/.*-reports/.*xml\" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \\;\n     - cp -r target/coverage-reports/jacoco/ $CIRCLE_ARTIFACTS\n-    - curl http://www.jpm4j.org/install/script > jpmInstall.sh\n-    - sudo sh jpmInstall.sh\n-    - sudo jpm install com.codacy:codacy-coverage-reporter:assembly\n-    - codacy-coverage-reporter -l Java -r target/coverage-reports/jacoco/jacoco.xml --projectToken $CODACY_PROJECT_TOKEN\n-    - mvn coveralls:report -DrepoToken=$COVERALLS_REPO_TOKEN \n+    - if [ ! -z $CODACY_PROJECT_TOKEN ]; then codacy-coverage-reporter -l Java -r target/coverage-reports/jacoco/jacoco.xml --projectToken $CODACY_PROJECT_TOKEN; fi","path":"circle.yml","position":null,"original_position":19,"commit_id":"8c10ebc2fda3f755f96757fc54974600961d060e","original_commit_id":"a087744bddddbc0f5d6575351a700e6dbd6e6304","user":{"login":"wallner","id":563601,"avatar_url":"https://avatars.githubusercontent.com/u/563601?v=3","gravatar_id":"","url":"https://api.github.com/users/wallner","html_url":"https://github.com/wallner","followers_url":"https://api.github.com/users/wallner/followers","following_url":"https://api.github.com/users/wallner/following{/other_user}","gists_url":"https://api.github.com/users/wallner/gists{/gist_id}","starred_url":"https://api.github.com/users/wallner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallner/subscriptions","organizations_url":"https://api.github.com/users/wallner/orgs","repos_url":"https://api.github.com/users/wallner/repos","events_url":"https://api.github.com/users/wallner/events{/privacy}","received_events_url":"https://api.github.com/users/wallner/received_events","type":"User","site_admin":false},"body":"Sadly the short notation doesn't work with circle's YAML parser so we are stuck with the long if statement. Bummer. ","created_at":"2016-01-27T10:51:41Z","updated_at":"2016-01-27T10:51:41Z","html_url":"https://github.com/osiam/connector4java/pull/184#discussion_r50968005","pull_request_url":"https://api.github.com/repos/osiam/connector4java/pulls/184","_links":{"self":{"href":"https://api.github.com/repos/osiam/connector4java/pulls/comments/50968005"},"html":{"href":"https://github.com/osiam/connector4java/pull/184#discussion_r50968005"},"pull_request":{"href":"https://api.github.com/repos/osiam/connector4java/pulls/184"}}},"pull_request":{"url":"https://api.github.com/repos/osiam/connector4java/pulls/184","id":57228944,"html_url":"https://github.com/osiam/connector4java/pull/184","diff_url":"https://github.com/osiam/connector4java/pull/184.diff","patch_url":"https://github.com/osiam/connector4java/pull/184.patch","issue_url":"https://api.github.com/repos/osiam/connector4java/issues/184","number":184,"state":"open","locked":false,"title":"Don't report coverage when building pull requests","user":{"login":"wallner","id":563601,"avatar_url":"https://avatars.githubusercontent.com/u/563601?v=3","gravatar_id":"","url":"https://api.github.com/users/wallner","html_url":"https://github.com/wallner","followers_url":"https://api.github.com/users/wallner/followers","following_url":"https://api.github.com/users/wallner/following{/other_user}","gists_url":"https://api.github.com/users/wallner/gists{/gist_id}","starred_url":"https://api.github.com/users/wallner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallner/subscriptions","organizations_url":"https://api.github.com/users/wallner/orgs","repos_url":"https://api.github.com/users/wallner/repos","events_url":"https://api.github.com/users/wallner/events{/privacy}","received_events_url":"https://api.github.com/users/wallner/received_events","type":"User","site_admin":false},"body":"Circleci hides 'secure' environment variables from pull request builds, and rightly so. However this did fail our pull request builds because we need access to the api token of coveralls.io this pull request doesn't report the coverage data if the token is not available.","created_at":"2016-01-26T15:51:58Z","updated_at":"2016-01-27T10:51:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c72f33e02505bac5b27d81981297dd3dd061743e","assignee":{"login":"tkrille","id":5213491,"avatar_url":"https://avatars.githubusercontent.com/u/5213491?v=3","gravatar_id":"","url":"https://api.github.com/users/tkrille","html_url":"https://github.com/tkrille","followers_url":"https://api.github.com/users/tkrille/followers","following_url":"https://api.github.com/users/tkrille/following{/other_user}","gists_url":"https://api.github.com/users/tkrille/gists{/gist_id}","starred_url":"https://api.github.com/users/tkrille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkrille/subscriptions","organizations_url":"https://api.github.com/users/tkrille/orgs","repos_url":"https://api.github.com/users/tkrille/repos","events_url":"https://api.github.com/users/tkrille/events{/privacy}","received_events_url":"https://api.github.com/users/tkrille/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/osiam/connector4java/pulls/184/commits","review_comments_url":"https://api.github.com/repos/osiam/connector4java/pulls/184/comments","review_comment_url":"https://api.github.com/repos/osiam/connector4java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/osiam/connector4java/issues/184/comments","statuses_url":"https://api.github.com/repos/osiam/connector4java/statuses/8c10ebc2fda3f755f96757fc54974600961d060e","head":{"label":"wallner:coveralls","ref":"coveralls","sha":"8c10ebc2fda3f755f96757fc54974600961d060e","user":{"login":"wallner","id":563601,"avatar_url":"https://avatars.githubusercontent.com/u/563601?v=3","gravatar_id":"","url":"https://api.github.com/users/wallner","html_url":"https://github.com/wallner","followers_url":"https://api.github.com/users/wallner/followers","following_url":"https://api.github.com/users/wallner/following{/other_user}","gists_url":"https://api.github.com/users/wallner/gists{/gist_id}","starred_url":"https://api.github.com/users/wallner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallner/subscriptions","organizations_url":"https://api.github.com/users/wallner/orgs","repos_url":"https://api.github.com/users/wallner/repos","events_url":"https://api.github.com/users/wallner/events{/privacy}","received_events_url":"https://api.github.com/users/wallner/received_events","type":"User","site_admin":false},"repo":{"id":12137416,"name":"connector4java","full_name":"wallner/connector4java","owner":{"login":"wallner","id":563601,"avatar_url":"https://avatars.githubusercontent.com/u/563601?v=3","gravatar_id":"","url":"https://api.github.com/users/wallner","html_url":"https://github.com/wallner","followers_url":"https://api.github.com/users/wallner/followers","following_url":"https://api.github.com/users/wallner/following{/other_user}","gists_url":"https://api.github.com/users/wallner/gists{/gist_id}","starred_url":"https://api.github.com/users/wallner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallner/subscriptions","organizations_url":"https://api.github.com/users/wallner/orgs","repos_url":"https://api.github.com/users/wallner/repos","events_url":"https://api.github.com/users/wallner/events{/privacy}","received_events_url":"https://api.github.com/users/wallner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wallner/connector4java","description":"Native Java API to connect to the REST based OSIAM services","fork":true,"url":"https://api.github.com/repos/wallner/connector4java","forks_url":"https://api.github.com/repos/wallner/connector4java/forks","keys_url":"https://api.github.com/repos/wallner/connector4java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wallner/connector4java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wallner/connector4java/teams","hooks_url":"https://api.github.com/repos/wallner/connector4java/hooks","issue_events_url":"https://api.github.com/repos/wallner/connector4java/issues/events{/number}","events_url":"https://api.github.com/repos/wallner/connector4java/events","assignees_url":"https://api.github.com/repos/wallner/connector4java/assignees{/user}","branches_url":"https://api.github.com/repos/wallner/connector4java/branches{/branch}","tags_url":"https://api.github.com/repos/wallner/connector4java/tags","blobs_url":"https://api.github.com/repos/wallner/connector4java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wallner/connector4java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wallner/connector4java/git/refs{/sha}","trees_url":"https://api.github.com/repos/wallner/connector4java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wallner/connector4java/statuses/{sha}","languages_url":"https://api.github.com/repos/wallner/connector4java/languages","stargazers_url":"https://api.github.com/repos/wallner/connector4java/stargazers","contributors_url":"https://api.github.com/repos/wallner/connector4java/contributors","subscribers_url":"https://api.github.com/repos/wallner/connector4java/subscribers","subscription_url":"https://api.github.com/repos/wallner/connector4java/subscription","commits_url":"https://api.github.com/repos/wallner/connector4java/commits{/sha}","git_commits_url":"https://api.github.com/repos/wallner/connector4java/git/commits{/sha}","comments_url":"https://api.github.com/repos/wallner/connector4java/comments{/number}","issue_comment_url":"https://api.github.com/repos/wallner/connector4java/issues/comments{/number}","contents_url":"https://api.github.com/repos/wallner/connector4java/contents/{+path}","compare_url":"https://api.github.com/repos/wallner/connector4java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wallner/connector4java/merges","archive_url":"https://api.github.com/repos/wallner/connector4java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wallner/connector4java/downloads","issues_url":"https://api.github.com/repos/wallner/connector4java/issues{/number}","pulls_url":"https://api.github.com/repos/wallner/connector4java/pulls{/number}","milestones_url":"https://api.github.com/repos/wallner/connector4java/milestones{/number}","notifications_url":"https://api.github.com/repos/wallner/connector4java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wallner/connector4java/labels{/name}","releases_url":"https://api.github.com/repos/wallner/connector4java/releases{/id}","deployments_url":"https://api.github.com/repos/wallner/connector4java/deployments","created_at":"2013-08-15T15:18:00Z","updated_at":"2014-06-15T11:25:11Z","pushed_at":"2016-01-27T10:27:57Z","git_url":"git://github.com/wallner/connector4java.git","ssh_url":"git@github.com:wallner/connector4java.git","clone_url":"https://github.com/wallner/connector4java.git","svn_url":"https://github.com/wallner/connector4java","homepage":"https://www.osiam.org","size":1264,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"osiam:master","ref":"master","sha":"714b9cdd22a8f1ba53fa1e24aa8edc1b77d1d739","user":{"login":"osiam","id":1918807,"avatar_url":"https://avatars.githubusercontent.com/u/1918807?v=3","gravatar_id":"","url":"https://api.github.com/users/osiam","html_url":"https://github.com/osiam","followers_url":"https://api.github.com/users/osiam/followers","following_url":"https://api.github.com/users/osiam/following{/other_user}","gists_url":"https://api.github.com/users/osiam/gists{/gist_id}","starred_url":"https://api.github.com/users/osiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osiam/subscriptions","organizations_url":"https://api.github.com/users/osiam/orgs","repos_url":"https://api.github.com/users/osiam/repos","events_url":"https://api.github.com/users/osiam/events{/privacy}","received_events_url":"https://api.github.com/users/osiam/received_events","type":"Organization","site_admin":false},"repo":{"id":11176360,"name":"connector4java","full_name":"osiam/connector4java","owner":{"login":"osiam","id":1918807,"avatar_url":"https://avatars.githubusercontent.com/u/1918807?v=3","gravatar_id":"","url":"https://api.github.com/users/osiam","html_url":"https://github.com/osiam","followers_url":"https://api.github.com/users/osiam/followers","following_url":"https://api.github.com/users/osiam/following{/other_user}","gists_url":"https://api.github.com/users/osiam/gists{/gist_id}","starred_url":"https://api.github.com/users/osiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osiam/subscriptions","organizations_url":"https://api.github.com/users/osiam/orgs","repos_url":"https://api.github.com/users/osiam/repos","events_url":"https://api.github.com/users/osiam/events{/privacy}","received_events_url":"https://api.github.com/users/osiam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osiam/connector4java","description":"Native Java API to connect to the REST based OSIAM services","fork":false,"url":"https://api.github.com/repos/osiam/connector4java","forks_url":"https://api.github.com/repos/osiam/connector4java/forks","keys_url":"https://api.github.com/repos/osiam/connector4java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osiam/connector4java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osiam/connector4java/teams","hooks_url":"https://api.github.com/repos/osiam/connector4java/hooks","issue_events_url":"https://api.github.com/repos/osiam/connector4java/issues/events{/number}","events_url":"https://api.github.com/repos/osiam/connector4java/events","assignees_url":"https://api.github.com/repos/osiam/connector4java/assignees{/user}","branches_url":"https://api.github.com/repos/osiam/connector4java/branches{/branch}","tags_url":"https://api.github.com/repos/osiam/connector4java/tags","blobs_url":"https://api.github.com/repos/osiam/connector4java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osiam/connector4java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osiam/connector4java/git/refs{/sha}","trees_url":"https://api.github.com/repos/osiam/connector4java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osiam/connector4java/statuses/{sha}","languages_url":"https://api.github.com/repos/osiam/connector4java/languages","stargazers_url":"https://api.github.com/repos/osiam/connector4java/stargazers","contributors_url":"https://api.github.com/repos/osiam/connector4java/contributors","subscribers_url":"https://api.github.com/repos/osiam/connector4java/subscribers","subscription_url":"https://api.github.com/repos/osiam/connector4java/subscription","commits_url":"https://api.github.com/repos/osiam/connector4java/commits{/sha}","git_commits_url":"https://api.github.com/repos/osiam/connector4java/git/commits{/sha}","comments_url":"https://api.github.com/repos/osiam/connector4java/comments{/number}","issue_comment_url":"https://api.github.com/repos/osiam/connector4java/issues/comments{/number}","contents_url":"https://api.github.com/repos/osiam/connector4java/contents/{+path}","compare_url":"https://api.github.com/repos/osiam/connector4java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osiam/connector4java/merges","archive_url":"https://api.github.com/repos/osiam/connector4java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osiam/connector4java/downloads","issues_url":"https://api.github.com/repos/osiam/connector4java/issues{/number}","pulls_url":"https://api.github.com/repos/osiam/connector4java/pulls{/number}","milestones_url":"https://api.github.com/repos/osiam/connector4java/milestones{/number}","notifications_url":"https://api.github.com/repos/osiam/connector4java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osiam/connector4java/labels{/name}","releases_url":"https://api.github.com/repos/osiam/connector4java/releases{/id}","deployments_url":"https://api.github.com/repos/osiam/connector4java/deployments","created_at":"2013-07-04T12:34:05Z","updated_at":"2016-01-25T15:21:36Z","pushed_at":"2016-01-27T10:27:57Z","git_url":"git://github.com/osiam/connector4java.git","ssh_url":"git@github.com:osiam/connector4java.git","clone_url":"https://github.com/osiam/connector4java.git","svn_url":"https://github.com/osiam/connector4java","homepage":"https://www.osiam.org","size":1329,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":6,"forks":13,"open_issues":6,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/osiam/connector4java/pulls/184"},"html":{"href":"https://github.com/osiam/connector4java/pull/184"},"issue":{"href":"https://api.github.com/repos/osiam/connector4java/issues/184"},"comments":{"href":"https://api.github.com/repos/osiam/connector4java/issues/184/comments"},"review_comments":{"href":"https://api.github.com/repos/osiam/connector4java/pulls/184/comments"},"review_comment":{"href":"https://api.github.com/repos/osiam/connector4java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/osiam/connector4java/pulls/184/commits"},"statuses":{"href":"https://api.github.com/repos/osiam/connector4java/statuses/8c10ebc2fda3f755f96757fc54974600961d060e"}}}}