CI_BUILD_REF_NAME not in use
And the variable has been renamed, see:
https://about.gitlab.com/2017/03/22/gitlab-9-0-released/#gitlab-ci-ce-ee
And the variable has been renamed, see:
https://about.gitlab.com/2017/03/22/gitlab-9-0-released/#gitlab-ci-ce-ee