Support for Jenkins GitLab Branch Source plugin

Jenkins GitLab Branch Source plugin adds bunch of variables, that are used with GitLab CI integration. It would make sense, if Sonarqube’s scanner supported these environment variables.

I’ve changed our Jenkins to pass following environment variables:


and I no longer need to configure the each project id for pull request decorations by hand. Rather than trying to keep mappings in sync between Sonar’s and GitLab Branch Sources variables, I’d appreciate if support for these new variables was added to Sonar’s Jenkins CI integration.