Fix so 'Never rebuild merge requests' feature works#869
Fix so 'Never rebuild merge requests' feature works#869Osmyslitelny wants to merge 6 commits intojenkinsci:masterfrom
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.