{"action":"created","comment":{"url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/comments/245001726","pull_request_review_id":189013421,"id":245001726,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTAwMTcyNg==","diff_hunk":"@@ -1,4 +1,3 @@\n #!/bin/bash\n \n-./run.sh my-backend-check-pull-request \"gradle test --info -Penvironment=dev -Popintoni_artifactory_base_url=${ARTIFACTORY_BASE_URL} -Popintoni_artifactory_username=${ARTIFACTORY_USERNAME} -Popintoni_artifactory_password=${ARTIFACTORY_PASSWORD} --stacktrace\"\n-\n+./run.sh my-backend-check-pull-request \"gradle sonarqube --info -Penvironment=dev -Popintoni_artifactory_base_url=${ARTIFACTORY_BASE_URL} -Popintoni_artifactory_username=${ARTIFACTORY_USERNAME} -Popintoni_artifactory_password=${ARTIFACTORY_PASSWORD} --stacktrace -Dsonar.analysis.mode=preview -Dsonar.host.url=https://opa-ci.it.helsinki.fi/sonar/ -Dsonar.login=$SONARCUBE_TOKEN -Dsonar.github.repository=UH-StudentServices/mystudies-myteaching-backend -Dsonar.github.pullRequest=${ghprbPullId} -Dsonar.github.oauth=$SONAR_GITHUB_TOKEN\"","path":"docker/ci/script/my-backend-check-pull-request.sh","position":5,"original_position":5,"commit_id":"c24a5fd566d95bdda77d8d01b05c1872da84598b","original_commit_id":"c24a5fd566d95bdda77d8d01b05c1872da84598b","user":{"login":"hheiskanen","id":6654979,"node_id":"MDQ6VXNlcjY2NTQ5Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/6654979?v=4","gravatar_id":"","url":"https://api.github.com/users/hheiskanen","html_url":"https://github.com/hheiskanen","followers_url":"https://api.github.com/users/hheiskanen/followers","following_url":"https://api.github.com/users/hheiskanen/following{/other_user}","gists_url":"https://api.github.com/users/hheiskanen/gists{/gist_id}","starred_url":"https://api.github.com/users/hheiskanen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hheiskanen/subscriptions","organizations_url":"https://api.github.com/users/hheiskanen/orgs","repos_url":"https://api.github.com/users/hheiskanen/repos","events_url":"https://api.github.com/users/hheiskanen/events{/privacy}","received_events_url":"https://api.github.com/users/hheiskanen/received_events","type":"User","site_admin":false},"body":"Mikä asettaa ympäristömuuttujat `SONARCUBE_TOKEN` (typo, pitäisi vaihtaa -> `SONARQUBE_TOKEN`) ja `SONAR_GITHUB_TOKEN`?\r\n\r\nLisäksi tästä voi ottaa pois gradlen argeista `-Popintoni_artifactory_username=${ARTIFACTORY_USERNAME} -Popintoni_artifactory_password=${ARTIFACTORY_PASSWORD}` (Artifactory-tunnarit tarvitaan vain kun sinne pusketaan uusia artifakteja)","created_at":"2019-01-03T13:39:07Z","updated_at":"2019-01-03T13:42:39Z","html_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend/pull/263#discussion_r245001726","pull_request_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/263","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/comments/245001726"},"html":{"href":"https://github.com/UH-StudentServices/mystudies-myteaching-backend/pull/263#discussion_r245001726"},"pull_request":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/263"}}},"pull_request":{"url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/263","id":241981284,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxOTgxMjg0","html_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend/pull/263","diff_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend/pull/263.diff","patch_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend/pull/263.patch","issue_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/263","number":263,"state":"open","locked":false,"title":"Add Sonarcube gradle plugin","user":{"login":"jleh","id":928727,"node_id":"MDQ6VXNlcjkyODcyNw==","avatar_url":"https://avatars3.githubusercontent.com/u/928727?v=4","gravatar_id":"","url":"https://api.github.com/users/jleh","html_url":"https://github.com/jleh","followers_url":"https://api.github.com/users/jleh/followers","following_url":"https://api.github.com/users/jleh/following{/other_user}","gists_url":"https://api.github.com/users/jleh/gists{/gist_id}","starred_url":"https://api.github.com/users/jleh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleh/subscriptions","organizations_url":"https://api.github.com/users/jleh/orgs","repos_url":"https://api.github.com/users/jleh/repos","events_url":"https://api.github.com/users/jleh/events{/privacy}","received_events_url":"https://api.github.com/users/jleh/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-01-03T12:26:46Z","updated_at":"2019-01-03T13:42:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d0edc522849a537a2b943ef545c62edc80573d4a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/263/commits","review_comments_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/263/comments","review_comment_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/263/comments","statuses_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/statuses/c24a5fd566d95bdda77d8d01b05c1872da84598b","head":{"label":"UH-StudentServices:sonarqube-plugin","ref":"sonarqube-plugin","sha":"c24a5fd566d95bdda77d8d01b05c1872da84598b","user":{"login":"UH-StudentServices","id":11271527,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjcxNTI3","avatar_url":"https://avatars1.githubusercontent.com/u/11271527?v=4","gravatar_id":"","url":"https://api.github.com/users/UH-StudentServices","html_url":"https://github.com/UH-StudentServices","followers_url":"https://api.github.com/users/UH-StudentServices/followers","following_url":"https://api.github.com/users/UH-StudentServices/following{/other_user}","gists_url":"https://api.github.com/users/UH-StudentServices/gists{/gist_id}","starred_url":"https://api.github.com/users/UH-StudentServices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UH-StudentServices/subscriptions","organizations_url":"https://api.github.com/users/UH-StudentServices/orgs","repos_url":"https://api.github.com/users/UH-StudentServices/repos","events_url":"https://api.github.com/users/UH-StudentServices/events{/privacy}","received_events_url":"https://api.github.com/users/UH-StudentServices/received_events","type":"Organization","site_admin":false},"repo":{"id":46273704,"node_id":"MDEwOlJlcG9zaXRvcnk0NjI3MzcwNA==","name":"mystudies-myteaching-backend","full_name":"UH-StudentServices/mystudies-myteaching-backend","private":false,"owner":{"login":"UH-StudentServices","id":11271527,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjcxNTI3","avatar_url":"https://avatars1.githubusercontent.com/u/11271527?v=4","gravatar_id":"","url":"https://api.github.com/users/UH-StudentServices","html_url":"https://github.com/UH-StudentServices","followers_url":"https://api.github.com/users/UH-StudentServices/followers","following_url":"https://api.github.com/users/UH-StudentServices/following{/other_user}","gists_url":"https://api.github.com/users/UH-StudentServices/gists{/gist_id}","starred_url":"https://api.github.com/users/UH-StudentServices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UH-StudentServices/subscriptions","organizations_url":"https://api.github.com/users/UH-StudentServices/orgs","repos_url":"https://api.github.com/users/UH-StudentServices/repos","events_url":"https://api.github.com/users/UH-StudentServices/events{/privacy}","received_events_url":"https://api.github.com/users/UH-StudentServices/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend","description":null,"fork":false,"url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend","forks_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/forks","keys_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/teams","hooks_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/hooks","issue_events_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/events{/number}","events_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/events","assignees_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/assignees{/user}","branches_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/branches{/branch}","tags_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/tags","blobs_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/languages","stargazers_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/stargazers","contributors_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/contributors","subscribers_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/subscribers","subscription_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/subscription","commits_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/contents/{+path}","compare_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/merges","archive_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/downloads","issues_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues{/number}","pulls_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/labels{/name}","releases_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/releases{/id}","deployments_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/deployments","created_at":"2015-11-16T12:38:03Z","updated_at":"2019-01-02T11:51:27Z","pushed_at":"2019-01-03T13:12:15Z","git_url":"git://github.com/UH-StudentServices/mystudies-myteaching-backend.git","ssh_url":"git@github.com:UH-StudentServices/mystudies-myteaching-backend.git","clone_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend.git","svn_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend","homepage":null,"size":6789,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":1,"open_issues":1,"watchers":2,"default_branch":"develop"}},"base":{"label":"UH-StudentServices:develop","ref":"develop","sha":"a8da67694912d15cc380de69d7d3389767d6f3eb","user":{"login":"UH-StudentServices","id":11271527,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjcxNTI3","avatar_url":"https://avatars1.githubusercontent.com/u/11271527?v=4","gravatar_id":"","url":"https://api.github.com/users/UH-StudentServices","html_url":"https://github.com/UH-StudentServices","followers_url":"https://api.github.com/users/UH-StudentServices/followers","following_url":"https://api.github.com/users/UH-StudentServices/following{/other_user}","gists_url":"https://api.github.com/users/UH-StudentServices/gists{/gist_id}","starred_url":"https://api.github.com/users/UH-StudentServices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UH-StudentServices/subscriptions","organizations_url":"https://api.github.com/users/UH-StudentServices/orgs","repos_url":"https://api.github.com/users/UH-StudentServices/repos","events_url":"https://api.github.com/users/UH-StudentServices/events{/privacy}","received_events_url":"https://api.github.com/users/UH-StudentServices/received_events","type":"Organization","site_admin":false},"repo":{"id":46273704,"node_id":"MDEwOlJlcG9zaXRvcnk0NjI3MzcwNA==","name":"mystudies-myteaching-backend","full_name":"UH-StudentServices/mystudies-myteaching-backend","private":false,"owner":{"login":"UH-StudentServices","id":11271527,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjcxNTI3","avatar_url":"https://avatars1.githubusercontent.com/u/11271527?v=4","gravatar_id":"","url":"https://api.github.com/users/UH-StudentServices","html_url":"https://github.com/UH-StudentServices","followers_url":"https://api.github.com/users/UH-StudentServices/followers","following_url":"https://api.github.com/users/UH-StudentServices/following{/other_user}","gists_url":"https://api.github.com/users/UH-StudentServices/gists{/gist_id}","starred_url":"https://api.github.com/users/UH-StudentServices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UH-StudentServices/subscriptions","organizations_url":"https://api.github.com/users/UH-StudentServices/orgs","repos_url":"https://api.github.com/users/UH-StudentServices/repos","events_url":"https://api.github.com/users/UH-StudentServices/events{/privacy}","received_events_url":"https://api.github.com/users/UH-StudentServices/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend","description":null,"fork":false,"url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend","forks_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/forks","keys_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/teams","hooks_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/hooks","issue_events_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/events{/number}","events_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/events","assignees_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/assignees{/user}","branches_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/branches{/branch}","tags_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/tags","blobs_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/languages","stargazers_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/stargazers","contributors_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/contributors","subscribers_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/subscribers","subscription_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/subscription","commits_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/contents/{+path}","compare_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/merges","archive_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/downloads","issues_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues{/number}","pulls_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/labels{/name}","releases_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/releases{/id}","deployments_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/deployments","created_at":"2015-11-16T12:38:03Z","updated_at":"2019-01-02T11:51:27Z","pushed_at":"2019-01-03T13:12:15Z","git_url":"git://github.com/UH-StudentServices/mystudies-myteaching-backend.git","ssh_url":"git@github.com:UH-StudentServices/mystudies-myteaching-backend.git","clone_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend.git","svn_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend","homepage":null,"size":6789,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":1,"open_issues":1,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/263"},"html":{"href":"https://github.com/UH-StudentServices/mystudies-myteaching-backend/pull/263"},"issue":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/263"},"comments":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/263/comments"},"review_comments":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/263/comments"},"review_comment":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/263/commits"},"statuses":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/statuses/c24a5fd566d95bdda77d8d01b05c1872da84598b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"hheiskanen"}}