我正在尝试用 jenkins 构建一个 sbt 项目。执行 sbt clean "release with-defaults" 时出现以下错误:
[info] Starting release process off commit: ce6dcb5a1fdbf5330766e47f3adb26ebc5082c8d
java.lang.RuntimeException: No tracking branch is set up. Either configure a remote tracking branch, or remove the pushChanges release part.
远程分支似乎设置得很好。以下是一些 git 命令的输出:
git --version
git version 1.8.3.1
git branch -r
* master ce6dcb5 debug jenkins
origin/master
git branch -av
* master ce6dcb5 debug jenkins
remotes/origin/master ce6dcb5 debug jenkins
git remote show origin
* remote origin
Fetch URL: ssh://git@stash:7999/~analya/docker-test.git
Push URL: ssh://git@stash:7999/~analya/docker-test.git
HEAD branch: master
Local ref configured for 'git push':
master pushes to master (up to date)
我错过了什么吗?