When a build is triggered by a tag push event, the CI job branch name that appears in Gitlab CI is wrong:

I would expect refs/tags/<tag-name> to be <tag-name>.
This has two consequences:

<gitlab-url>/<repo-path>/commits/<tag-name>, but it actually takes you to <gitlab-url>/<repo-path>/commits/refs/tags/<tag-name>, which returns a 404.Edit: here is an even better example:

I suspect this is an issue with how we return data to GitLab for builds triggered by tags. Needs investigation.
Released in version 1.5.7.
Hi. I faced with it in:
gitlab plugin version: 1.5.10
Gitlab version: 11.2.3
Jenkins version: 2.138.2
Job type: Freestyle