-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error adding commits to existing Merge Request #155
Comments
I was able to trace the error to this method: I have a project under I'll try to provide a PR that fixes this by navigating to the forked project instead, so we can look at the existing MRs there. If anyone has a better suggestion, it's welcome, so I provide the proper fix. |
@pbendersky you can check my fork for the fix. I've also encountered this issue and I have temporarily fixed it. But I haven't updated the code so you might take a look on some of the latest changes. Have been busy so I haven't been able to code the plug-in for a while. Keep me posted. |
Thanks @joshuajorel, I'll take a look. Why did you not submit a PR for this? (I want to understand what's missing so I can take it from there...) |
@pbendersky I'm not quite sure what happened with the current version, but before the 1.1.29 release candidate the plug-in was working fine when it comes to pulling from a GitLab push. I've fixed that issue, but I'm not too sure about whether it was the right solution. As for the pull request, I'm still trying to solve the buildOpenMergeRequests method. I'm still encountering some exceptions, but I'm not sure if someone made a fix for that already. I stopped midway through development since I got busy, but I'll be making some progress over the weekend since I have some free time. Feel free to ask me if you have any questions. Thanks. |
Same problem here. Is there any way I can support you with the solution? |
I can't reproduce this. Can you provide us information about your setup (used versions, config, ...)? |
I'm using the gitlab-plugin 1.1.29 (downloaded here and compiled) and GitLab 8.5.2. I create a merge request, and it gets compiled. (let's say a test fails). When I add another commit to the same MR, now the plugin does not try to compile again (I think it should) |
Works in the latest version. |
This started affecting me since about a week ago. Jenkins v2.64, plugin v1.4.5, using gitlab.com. The first build works fine, but subsequent ones fail with the message similar to the OP's. Edit: turned out it was my mistake. I had removed the step that merged the branches locally, thinking it's optional. Once I re-instituted that, the builds were fixed. Seems strange though that this is required for builds to work, since we already have a perfectly good branch to build. Also, Gitlab already ensures that the change can be merged cleanly. |
I'm experiencing an error when adding commits to an existing Merge Requests. The error I see, however, is different to the one described in #90, so I'm opening a new issue.
When creating a new MR, Jenkins build just fine. When adding a commit, however, I get the following:
The branch in my repository is called
more-tests
, and I have two git repositories configured, as described in the Readme.The text was updated successfully, but these errors were encountered: