[英]find current git branch while running job in pipeline
how can I find out branch name in a job that is running in the pipeline? 如何在管道中运行的作业中找出分支名称? I tried git branch
all i get is 我尝试了git branch
我得到的是
* (detached from <commit number>) master
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.