datadog-ci icon indicating copy to clipboard operation
datadog-ci copied to clipboard

Support GitLab merge request pipelines

Open nesl247 opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe: When using GitLab's merge request pipelines, CI_COMMIT_BRANCH does not exist. Instead, CI_MERGE_REQUEST_SOURCE_BRANCH_NAME needs to be used.

Describe the solution you'd like: Use CI_MERGE_REQUEST_SOURCE_BRANCH_NAME when CI_COMMIT_BRANCH is not set.

Describe alternatives you've considered: There are none.

Additional context:

nesl247 avatar Aug 19 '21 14:08 nesl247