Skip to content

Expose merge request id as a variable visible in CI

Right now it's not possible to find out whether a GitLab CI build is triggered by submitting a merge request. With merge request id provided, it'll possible to use tools like code coverage, static code analyzers and so on. Travis and CircleCI both expose something similar

Discussed a bit about it with @ayufan.