-
Notifications
You must be signed in to change notification settings - Fork 620
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
Fix so 'Never rebuild merge requests' feature works #869
base: master
Are you sure you want to change the base?
Fix so 'Never rebuild merge requests' feature works #869
Conversation
State - closed, Action - close
we set it on 1st place because the more important type of hook than flag approved or not. Also update action often came with opened state.
@Osmyslitelny thanks a lot for working on this! I will build a snapshot and post the link to it in #705 so other folks can try it out. |
Any chance this could get in soonish? :) |
…nto fix/merge_request_hooks_behavior
Trying to trigger the CI again but no luck. @markyjackson-taulia in #705 I published a snapshot with this fix and folks confirmed that it resolved the issue, so we can probably merge it. Would be nice to get the CI to pass though. |
Test passing now :D |
Is this will be merged and release soon ? Thanks |
Hi dears, what is the progress on this issue |
Someone needs to have the build pass ci. Cannot merge until that happens |
@omehegan If I get it right, MR haven't problem with CI (сш-fail https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fgitlab-plugin/detail/PR-869/31/pipeline connect with master - https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fgitlab-plugin/detail/master/195/pipeline , not with current MR) . And there #869 (comment) you said "all right". Are you going to merge it soon? It would me nice. Because it isn't very comfortable keep custom-snapshot-fork into project-jenkins. Different issues with versions and etc. |
I started from this issues #705. The main problem was we get 'update' action not only when State is updated but when State is open (you open MR and add some fix push). After that I found that my closed MR doesn't trigger job. After investigation I got that hook was with Action close, not closed. I think It isn't all problem and issues from this scope (MR and webhooks). But it's more popular cases and I think in the future we should to verify what is State and what is Action, and which rule should compare them.
Fixes #705.