您的链接有答案:
该插件提供了一些非常有用的环境变量。
ghprbActualCommit
ghprbActualCommitAuthor
ghprbActualCommitAuthorEmail
ghprbPullDescription
ghprbPullId
ghprbPulllink
ghprbPullTitle
ghprbSourceBranch
ghprbTargetBranch
sha1
您将需要使用它
$ghprbSourceBranch来获取在脚本中其他位置处构建的分支的值。

您的链接有答案:
该插件提供了一些非常有用的环境变量。
ghprbActualCommit
ghprbActualCommitAuthor
ghprbActualCommitAuthorEmail
ghprbPullDescription
ghprbPullId
ghprbPulllink
ghprbPullTitle
ghprbSourceBranch
ghprbTargetBranch
sha1
您将需要使用它
$ghprbSourceBranch来获取在脚本中其他位置处构建的分支的值。