Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49517

Supporting Merge requests on a multibranch pipeline

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Critical Critical
    • gitlab-plugin
    • None

      Its not possible to access gitlab variables:

      Example:

      • gitlabBranch
      • ...
      • gitlabMergeRequestId
      • ...

      Multibranch Pipelines expose additional information about the branch being built through the env global variable, such as:
      With the "GitHub" or "Bitbucket" Branch Sources, Multibranch Pipelines can be used for validating pull/change requests. 
      CHANGE_ID - An identifier corresponding to some kind of change request, such as a pull request number

      Please add the same functionality to Gitlab plugin.

       

            owenmehegan Owen Mehegan
            jorgefigueira Jorge Figueira
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: