[英]Jenkins on Windows get stuck when git plugin execute ssh git-upload-pack
我正在嘗試在Azure中運行的Windows服務器上設置Jenkins。 我已經在Windows 2012上安裝了Jenkins,git和git-plugin。我試圖從BitBicket克隆一個很小的存儲庫,在Jenkins控制台中,我可以看到以下行:
在服務器本身上,有一個用以下命令行掛起的ssh進程: c:\\CI\\Git\\bin\\ssh.exe -i "c:\\Users\\jenkins\\AppData\\Local\\Temp\\ssh663898192536328409key" -o StrictHostKeyChecking=no git@bitbucket.org "git-upload-pack'mycompany/myrepo.git'"
當我嘗試在cmd.exe窗口中運行此命令時,得到此響應,然后進程卡在等待輸入的狀態,如果鍵入內容,則退出並顯示protocol error
消息:
00cbe160a5e558047c6dxy2d00694874365997d14f5 HEAD multi_ack thin-pack side-band
side-band-64k ofs-delta shallow no-progress include-tag multi_ack_detailed symref=HEAD:refs/heads/master agent=git/1.8.5.2
003fe160a5e558047c6dcc37d00694874365997d14f5 refs/heads/master
0000
注意:當我從git bash克隆相同的存儲庫時,一切正常。
我沒有找到根本原因,但是我確實設法通過生成一個新的密鑰對而沒有密碼來解決它
現在就足夠了,以后我將嘗試將密碼添加到密鑰對文件中。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.