I'm setting up Gitlab CI job. I want to get the name of the current branch from a Gitlab CI job. How can I do this?
在GitLab 9.0及更高版本中,您可以在作业中使用预定义的CI_COMMIT_REF_NAME
环境变量。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.