Rename to CI_JOB_NAME. See https://docs.gitlab.com/ee/ci/variables/predefined_variables.html
CI_JOB_NAME