jenkins-gitlab-merge-request-builder-plugin icon indicating copy to clipboard operation
jenkins-gitlab-merge-request-builder-plugin copied to clipboard

Trigger a build only for MR to specific branches

Open ugtar opened this issue 10 years ago • 6 comments

Hey, I would like create a job in jenkins that is triggered when the Merge Request is requested to a specific branch or specified subset of branches (it is from a forked repository by the way so it also depends on #29). Is this currently possible or is this an enhancement? Thanks.

ugtar avatar Jan 30 '14 12:01 ugtar

Hi @ugtar I think this would be considered an enhancement.

timols avatar Feb 15 '14 23:02 timols

+1

Jotschi avatar Jun 30 '14 12:06 Jotschi

I could implement a whitelist regex for the target branch name. Would that be sufficient?

Jotschi avatar Jun 30 '14 12:06 Jotschi

@Jotschi Yes, I think that would do it

ugtar avatar Jun 30 '14 13:06 ugtar

@timols I think this issue can be closed.

Jotschi avatar Jul 31 '14 15:07 Jotschi

Is there a limitation preventing this feature from operating on the source branch?

instagrim-dev avatar Mar 21 '18 17:03 instagrim-dev