Jenkins windows slave没有tty分配失败

我可能遇到了一个障碍,在解决一个在windows上创buildJenkins作业的问题。 我不确定需要做什么来解决以下问题? 这里是日志

Building remotely on Windows Slave (windows) in workspace c:\Builds\workspace\windows-nuget-push > C:\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > C:\Git\cmd\git.exe config remote.origin.url git@github.com:SDK-NewGen/sdk.git # timeout=10 Fetching upstream changes from git@github.com:NewGen/sdk.git > C:\Git\cmd\git.exe --version # timeout=10 using GIT_SSH to set credentials > C:\Git\cmd\git.exe -c core.askpass=true fetch --tags --progress git@github.com:NewGen/sdk.git +refs/heads/*:refs/remotes/origin/* > C:\Git\cmd\git.exe rev-parse "refs/remotes/origin/develop^{commit}" # timeout=10 > C:\Git\cmd\git.exe rev-parse "refs/remotes/origin/origin/develop^{commit}" # timeout=10 Checking out Revision e1feb68bcc21e8801a5bcaf087bda5041370fbf7 (refs/remotes/origin/develop) > C:\Git\cmd\git.exe config core.sparsecheckout # timeout=10 > C:\Git\cmd\git.exe checkout -f e1feb68bcc21e8801a5bcaf087bda5041370fbf7 > C:\Git\cmd\git.exe rev-list e1feb68bcc21e8801a5bcaf087bda5041370fbf7 # timeout=10 [windows-nuget-push] $ sh -xe C:\WINDOWS\TEMP\hudson8489555376979916245.sh 2 [main] sh 140924 tty_list::allocate_tty: No tty allocated + ./update-repo.sh C:\WINDOWS\TEMP\hudson8489555376979916245.sh: ./update-repo.sh: not found Build step 'Execute shell' marked build as failure Finished: FAILURE 

我认为失败是由下面的日志消息,我不知道如何解决它。

 2 [main] sh 140924 tty_list::allocate_tty: No tty allocated, 

快速谷歌search指向我的这个链接 ,但我无法通过从CYGWIN环境variables中删除tty来解决此问题。

如果有人能够阐明这种失败的原因并采取措施加以解决,那将是非常好的

..这是Jenkins构build作业将执行的shell命令

 ./update-repo.sh