{"action":"created","issue":{"url":"https://api.github.com/repos/gabrie-allaigre/sonar-gitlab-plugin/issues/83","repository_url":"https://api.github.com/repos/gabrie-allaigre/sonar-gitlab-plugin","labels_url":"https://api.github.com/repos/gabrie-allaigre/sonar-gitlab-plugin/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/gabrie-allaigre/sonar-gitlab-plugin/issues/83/comments","events_url":"https://api.github.com/repos/gabrie-allaigre/sonar-gitlab-plugin/issues/83/events","html_url":"https://github.com/gabrie-allaigre/sonar-gitlab-plugin/issues/83","id":271075927,"number":83,"title":"'GitLab Commit Issue Publisher' skipped because one of the required properties is missing","user":{"login":"rafehi","id":3108685,"avatar_url":"https://avatars2.githubusercontent.com/u/3108685?v=4","gravatar_id":"","url":"https://api.github.com/users/rafehi","html_url":"https://github.com/rafehi","followers_url":"https://api.github.com/users/rafehi/followers","following_url":"https://api.github.com/users/rafehi/following{/other_user}","gists_url":"https://api.github.com/users/rafehi/gists{/gist_id}","starred_url":"https://api.github.com/users/rafehi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafehi/subscriptions","organizations_url":"https://api.github.com/users/rafehi/orgs","repos_url":"https://api.github.com/users/rafehi/repos","events_url":"https://api.github.com/users/rafehi/events{/privacy}","received_events_url":"https://api.github.com/users/rafehi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-03T18:33:06Z","updated_at":"2018-02-20T13:40:16Z","closed_at":null,"author_association":"NONE","body":"I've been trying to diagnose this issue without any luck. As far as I can tell, I have all the required configurations:\r\n\r\ndocker run -v $(pwd):/root/src newtmitch/sonar-scanner sonar-scanner -X -Dsonar.host.url=http://host -Dsonar.analysis.mode=preview -Dsonar.projectKey=key  -Dsonar.sources=src -Dsonar.login=user -Dsonar.password=pass -Dsonar.gitlab.project_id=$CI_PROJECT_PATH -Dsonar.gitlab.commit_sha=$CI_COMMIT_SHA -Dsonar.gitlab.ref_name=$CI_COMMIT_REF_NAME\r\n\r\nThe script succeeds however Gitlab isn't updated and the following message is logged:\r\n'GitLab Commit Issue Publisher' skipped because one of the required properties is missing\r\n\r\nAny idea what might be causing it? It definitely runs the plugin, as if I exclude -Dsonar.analysis.mode=preview, the plugin fails, complaining that it can't run if not in preview mode."},"comment":{"url":"https://api.github.com/repos/gabrie-allaigre/sonar-gitlab-plugin/issues/comments/366980268","html_url":"https://github.com/gabrie-allaigre/sonar-gitlab-plugin/issues/83#issuecomment-366980268","issue_url":"https://api.github.com/repos/gabrie-allaigre/sonar-gitlab-plugin/issues/83","id":366980268,"user":{"login":"gabrie-allaigre","id":14994297,"avatar_url":"https://avatars3.githubusercontent.com/u/14994297?v=4","gravatar_id":"","url":"https://api.github.com/users/gabrie-allaigre","html_url":"https://github.com/gabrie-allaigre","followers_url":"https://api.github.com/users/gabrie-allaigre/followers","following_url":"https://api.github.com/users/gabrie-allaigre/following{/other_user}","gists_url":"https://api.github.com/users/gabrie-allaigre/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrie-allaigre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrie-allaigre/subscriptions","organizations_url":"https://api.github.com/users/gabrie-allaigre/orgs","repos_url":"https://api.github.com/users/gabrie-allaigre/repos","events_url":"https://api.github.com/users/gabrie-allaigre/events{/privacy}","received_events_url":"https://api.github.com/users/gabrie-allaigre/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T13:40:16Z","updated_at":"2018-02-20T13:40:16Z","author_association":"OWNER","body":"Hi, In version 3.0.0, ref_name is required."}}
{"actor":{"display_login":"gabrie-allaigre"}}