Home

Awesome

GitLab Merge Request Builder Plugin

A plugin that allows Jenkins to build merge requests.

This plugin fetches the source and target branches of a GitLab merge request and makes them available to your build via build parameters. Once the build completes, Jenkins will leave a comment on the merge request indicating whether the merge request was successful.

Supported GitLab Versions

Prerequisites

Installation

Webhooks

Creating a Job

Default Filters

Changing any of the filters to an empty string will remove the filters

Manual Triggers

You can trigger a job a manually by clicking This build is parameterized and adding the relevant build parameters. These include:

Note: a manually triggered build will not add build triggered/succeeded/failed comments to the merge request. Note: You should ensure that the 'Global Config user.name Value' and 'Global Config user.email Value' are both set for your git plugin. In some cases, you will get an error indicating that a branch cannot be merged if these are not set.

Environment variables

The plugin will contribute some environment variables to the build.

Contributing

Copyright

Copyright (c) 2013 Tim Olshansky. See LICENSE for further details.