Skip to content
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

Trigger build when merge request has been merged or closed #508

Conversation

abbas-mohamad
Copy link
Contributor

Hello, the main of this pull request is to be able to trigger builds when a merge request has been accepted or closed (Please see #390 ).

@omehegan
Copy link
Member

Nice PR, thank you! And it even has some tests :)

@colourmeamused @trance1st can either or both of you review this?

@mreichel mreichel merged commit 0986edd into jenkinsci:master Apr 18, 2017
@mreichel
Copy link
Contributor

The PR looks fine to me. Thanks! In my Jenkins the new checkboxes "forget" their values sometimes, though. I can't see anything wrong in the code (I guess it is a local problem), but maybe you can check this in your Jenkins @mabbas85?

@omehegan
Copy link
Member

Configuration loss is, in my experience, NOT usually a local problem. There can be issues where the config is not saved to disk properly. I think this is worth investigating before we release this.

@abbas-mohamad
Copy link
Contributor Author

@mreichel, @omehegan Thanks for accepting the PR! I am encountering the same problem in my local jenkins. I will investigate why it is happening.

@abbas-mohamad
Copy link
Contributor Author

I think i understood why it is happening. It was missing the Getter methods for the 2 fields i added in class GitLabPushTrigger. By adding these 2 methods, the problem seems to disappear. I will create a new PR that adds these 2 methods. Thanks for reporting this problem!

@omehegan
Copy link
Member

@mabbas85 well done :)

@omehegan
Copy link
Member

omehegan commented Jul 5, 2017

This was released today in version 1.4.6 of the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants