{"action":"opened","issue":{"url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/865","repository_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin","labels_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/865/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/865/comments","events_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/865/events","html_url":"https://github.com/jenkinsci/gitlab-plugin/issues/865","id":388515000,"node_id":"MDU6SXNzdWUzODg1MTUwMDA=","number":865,"title":"Build status sent to shared Pipeline repo if job is aborted before main git clone is complete","user":{"login":"omehegan","id":1775894,"node_id":"MDQ6VXNlcjE3NzU4OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1775894?v=4","gravatar_id":"","url":"https://api.github.com/users/omehegan","html_url":"https://github.com/omehegan","followers_url":"https://api.github.com/users/omehegan/followers","following_url":"https://api.github.com/users/omehegan/following{/other_user}","gists_url":"https://api.github.com/users/omehegan/gists{/gist_id}","starred_url":"https://api.github.com/users/omehegan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omehegan/subscriptions","organizations_url":"https://api.github.com/users/omehegan/orgs","repos_url":"https://api.github.com/users/omehegan/repos","events_url":"https://api.github.com/users/omehegan/events{/privacy}","received_events_url":"https://api.github.com/users/omehegan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-07T05:50:48Z","updated_at":"2018-12-07T05:50:48Z","closed_at":null,"author_association":"MEMBER","body":"## Issue\r\n\r\n### Context\r\n- **Gitlab plugin version**: 1.5.9\r\n- **Job type**: Pipeline\r\n\r\n### Problem description\r\n\r\nGiven a Pipeline job that uses a shared library, if a user aborts the job after the shared library has been cloned, but before the main project's git clone is complete, the build status will be sent to the shared library repo in GitLab, instead of the project repo.\r\n\r\nThis is because, for Pipeline jobs, the plugin figures out what repo to send build results to based on the last SCM that was cloned before the build finished. It would be good if we could differentiate between shared libraries and actual project repos in order to send the result to the right place (or not send it at all)."}}
{"actor":{"display_login":"omehegan"}}