{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/389","repository_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin","labels_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/389/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/389/comments","events_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/389/events","html_url":"https://github.com/jenkinsci/gitlab-plugin/issues/389","id":170497810,"number":389,"title":"Status reports from independent jobs overwrite each other","user":{"login":"sharwell","id":1408396,"avatar_url":"https://avatars.githubusercontent.com/u/1408396?v=3","gravatar_id":"","url":"https://api.github.com/users/sharwell","html_url":"https://github.com/sharwell","followers_url":"https://api.github.com/users/sharwell/followers","following_url":"https://api.github.com/users/sharwell/following{/other_user}","gists_url":"https://api.github.com/users/sharwell/gists{/gist_id}","starred_url":"https://api.github.com/users/sharwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharwell/subscriptions","organizations_url":"https://api.github.com/users/sharwell/orgs","repos_url":"https://api.github.com/users/sharwell/repos","events_url":"https://api.github.com/users/sharwell/events{/privacy}","received_events_url":"https://api.github.com/users/sharwell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-10T19:24:43Z","updated_at":"2016-08-11T12:31:10Z","closed_at":"2016-08-11T06:40:53Z","body":"### Context\r\n- **Gitlab plugin version**: X.Y.Z\r\n- **Gitlab version**: 8.9.5-ee 42dceaa\r\n- **Jenkins version**: X.Y.Z\r\n\r\n### Problem description\r\n\r\nI have two jobs that are triggered from the same repository. I'm interested in marking the build status as successful pending the successful completion of *both* of these jobs. Unfortunately, GitLab is currently unable to differentiate between the two jobs in its external builds UI. For example, the job results might appear as follows:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1408396/17567588/a2f70f14-5f05-11e6-8be9-5d72e20b5053.png)\r\n\r\nMy guess is the GitLab commit status API treats two builds as equivalent when their `name`/`context` (an API parameter) is the same. The Jenkins plugin always reports the commit status with the name `jenkins`, as shown in the image.\r\n\r\n:question: If two builds report status with different values for `name`, will GitLab correctly differentiate between them? If so, would it be possible to have the Jenkins plugin report the commit status with the name set to the Jenkins job name instead of always using `jenkins`?"},"comment":{"url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/comments/239147297","html_url":"https://github.com/jenkinsci/gitlab-plugin/issues/389#issuecomment-239147297","issue_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/389","id":239147297,"user":{"login":"sharwell","id":1408396,"avatar_url":"https://avatars.githubusercontent.com/u/1408396?v=3","gravatar_id":"","url":"https://api.github.com/users/sharwell","html_url":"https://github.com/sharwell","followers_url":"https://api.github.com/users/sharwell/followers","following_url":"https://api.github.com/users/sharwell/following{/other_user}","gists_url":"https://api.github.com/users/sharwell/gists{/gist_id}","starred_url":"https://api.github.com/users/sharwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharwell/subscriptions","organizations_url":"https://api.github.com/users/sharwell/orgs","repos_url":"https://api.github.com/users/sharwell/repos","events_url":"https://api.github.com/users/sharwell/events{/privacy}","received_events_url":"https://api.github.com/users/sharwell/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T12:31:09Z","updated_at":"2016-08-11T12:31:09Z","body":"Duplicate of #362, added in plugin release 1.2.4."}}
{"actor":{"display_login":"sharwell"}}