Link the Jenkins Job with the Merge Request

  1. In the left navigator, click Merge Request.
  2. Open the merge request.
  3. Click the Linked Builds tab.
    The tab displays linked jobs, if any.
  4. In Search and Link Build Jobs, enter the Jenkins job name and select it from the list.
  5. Click Save OK.

When a commit is pushed to the merge request's review branch, the webhook triggers a build of the specified job on the remote Jenkins server and a notification is posted to the project's Recent Activity Feed. If the build succeeds, it'll be added to the Approve section of the Review Status list in the Merge Request page. If the build fails, it'll be added to the Reject section of the Review Status list.