[英]How to get source and target branch in TeamCity build?
I'm wonder is there any way to extract source and target branch during TeamCity PullRequest build (my git server is bitbucket).我想知道在 TeamCity PullRequest 构建期间有什么方法可以提取源和目标分支(我的 git 服务器是 bitbucket)。 I would like to use those information in my build script.
我想在我的构建脚本中使用这些信息。
I found that those variables are available but from 2019.2我发现这些变量是可用的,但从 2019.2
https://www.jetbrains.com/help/teamcity/pull-requests.html#PullRequests-Predefinedbuildparametersforpullrequests https://www.jetbrains.com/help/teamcity/pull-requests.html#PullRequests-Predefinedbuildparametersforpullrequests
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.