{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/640","repository_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin","labels_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/640/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/640/comments","events_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/640/events","html_url":"https://github.com/jenkinsci/gitlab-plugin/issues/640","id":265316585,"number":640,"title":"Can't update the build status (combination not found)","user":{"login":"maksim77","id":155911,"avatar_url":"https://avatars0.githubusercontent.com/u/155911?v=4","gravatar_id":"","url":"https://api.github.com/users/maksim77","html_url":"https://github.com/maksim77","followers_url":"https://api.github.com/users/maksim77/followers","following_url":"https://api.github.com/users/maksim77/following{/other_user}","gists_url":"https://api.github.com/users/maksim77/gists{/gist_id}","starred_url":"https://api.github.com/users/maksim77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maksim77/subscriptions","organizations_url":"https://api.github.com/users/maksim77/orgs","repos_url":"https://api.github.com/users/maksim77/repos","events_url":"https://api.github.com/users/maksim77/events{/privacy}","received_events_url":"https://api.github.com/users/maksim77/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-13T14:51:03Z","updated_at":"2017-11-28T11:48:12Z","closed_at":null,"author_association":"NONE","body":"## Issue: Can't update the build status (combination not found)\r\n\r\n### Context\r\n- **Gitlab plugin version**: 1.4.8\r\n- **Gitlab version**: 9.0.5\r\n- **Jenkins version**: 2.73.2\r\n- **Job type**: Multibranch Pipeline\r\n\r\n### Logs & Traces\r\n\r\n```\r\nRetrieving gitlab project ids\r\nOct 13, 2017 5:37:08 PM INFO com.dabsquared.gitlabjenkins.util.CommitStatusUpdater addGitLabBranchBuild\r\nRetrieving the gitlab project id from remote url ssh://git@some.url:8022/group/project.git\r\nOct 13, 2017 5:37:08 PM FINEST com.dabsquared.gitlabjenkins.gitlab.GitLabClientBuilder\r\nCall GitLab:\r\nHTTP method: GET\r\nURL: http://some.url/api/v3/projects/group%2Fproject/repository/commits/0f7b4b884d8f5693dc7681bd3bddcd0d6319591a\r\nRequest headers: [\r\nAccept = [application/json],\r\nPRIVATE-TOKEN = [****FILTERED****]\r\n]\r\nOct 13, 2017 5:37:08 PM FINEST com.dabsquared.gitlabjenkins.gitlab.GitLabClientBuilder\r\nGot response from GitLab:\r\nURL: http://some.url/api/v3/projects/group%2Fproject/repository/commits/0f7b4b884d8f5693dc7681bd3bddcd0d6319591a\r\nStatus: 404 Not Found\r\nResponse headers: [\r\nCache-Control = [no-cache],\r\nConnection = [keep-alive],\r\nContent-Length = [25],\r\nContent-Type = [application/json],\r\nDate = [Fri, 13 Oct 2017 14:37:08 GMT],\r\nServer = [nginx/1.8.1],\r\nVary = [Origin],\r\nX-Request-Id = [4ce7c8e9-47d0-4f92-a183-4567742f1cc8],\r\nX-Runtime = [0.008258]\r\n]\r\nResponse body: {\r\n  \"error\" : \"404 Not Found\"\r\n}\r\nOct 13, 2017 5:37:08 PM FINE com.dabsquared.gitlabjenkins.util.CommitStatusUpdater\r\nProject (group/project) and commit (0f7b4b884d8f5693dc7681bd3bddcd0d6319591a) combination not found\r\nOct 13, 2017 5:37:08 PM INFO com.dabsquared.gitlabjenkins.util.CommitStatusUpdater retrieveGitlabProjectIds\r\nRetrieving gitlab project ids\r\nOct 13, 2017 5:37:08 PM INFO com.dabsquared.gitlabjenkins.util.CommitStatusUpdater addGitLabBranchBuild\r\nRetrieving the gitlab project id from remote url ssh://git@some.url:8022/group/project.git\r\nOct 13, 2017 5:37:08 PM FINEST com.dabsquared.gitlabjenkins.gitlab.GitLabClientBuilder\r\nCall GitLab:\r\nHTTP method: GET\r\nURL: http://some.url/api/v3/projects/group%2Fproject/repository/commits/0f7b4b884d8f5693dc7681bd3bddcd0d6319591a\r\nRequest headers: [\r\nAccept = [application/json],\r\nPRIVATE-TOKEN = [****FILTERED****]\r\n]\r\nOct 13, 2017 5:37:08 PM FINEST com.dabsquared.gitlabjenkins.gitlab.GitLabClientBuilder\r\nGot response from GitLab:\r\nURL: http://some.url/api/v3/projects/group%2Fproject/repository/commits/0f7b4b884d8f5693dc7681bd3bddcd0d6319591a\r\nStatus: 404 Not Found\r\nResponse headers: [\r\nCache-Control = [no-cache],\r\nConnection = [keep-alive],\r\nContent-Length = [25],\r\nContent-Type = [application/json],\r\nDate = [Fri, 13 Oct 2017 14:37:08 GMT],\r\nServer = [nginx/1.8.1],\r\nVary = [Origin],\r\nX-Request-Id = [26065759-b1d3-4798-be98-967ac11b28f4],\r\nX-Runtime = [0.009033]\r\n]\r\nResponse body: {\r\n  \"error\" : \"404 Not Found\"\r\n}\r\nOct 13, 2017 5:37:08 PM FINE com.dabsquared.gitlabjenkins.util.CommitStatusUpdater\r\nProject (group/project) and commit (0f7b4b884d8f5693dc7681bd3bddcd0d6319591a) combination not found\r\n```\r\n\r\n### Problem description\r\nDuring a build in a freestyle no problem, but if i using multibranch returning a 404. I tried to send the problematic query by hand and it really returns a 404. But if i replace \"group%2Fproject\" to the ID of the repository returns a normal response. Please tell me how to fix it ?\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/comments/347499390","html_url":"https://github.com/jenkinsci/gitlab-plugin/issues/640#issuecomment-347499390","issue_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/640","id":347499390,"user":{"login":"maksim77","id":155911,"avatar_url":"https://avatars0.githubusercontent.com/u/155911?v=4","gravatar_id":"","url":"https://api.github.com/users/maksim77","html_url":"https://github.com/maksim77","followers_url":"https://api.github.com/users/maksim77/followers","following_url":"https://api.github.com/users/maksim77/following{/other_user}","gists_url":"https://api.github.com/users/maksim77/gists{/gist_id}","starred_url":"https://api.github.com/users/maksim77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maksim77/subscriptions","organizations_url":"https://api.github.com/users/maksim77/orgs","repos_url":"https://api.github.com/users/maksim77/repos","events_url":"https://api.github.com/users/maksim77/events{/privacy}","received_events_url":"https://api.github.com/users/maksim77/received_events","type":"User","site_admin":false},"created_at":"2017-11-28T11:48:12Z","updated_at":"2017-11-28T11:48:12Z","author_association":"NONE","body":"Any news? :)"}}
{"actor":{"display_login":"maksim77"}}