简体   繁体   English

Jenkins git插件未连接到存储库

[英]Jenkins git plugin not connecting to repository

I want to use CI for my Android project. 我想在我的Android项目中使用CI。 So i installed Jenkins on my system and tried to configure GIT plugin in that but I get below exception 所以我在系统上安装了Jenkins并尝试在其中配置GIT插件,但出现以下异常

Failed to connect to repository : Command "git.exe -c core.askpass=true ls-remote -h https://username@company.com/some/path/android.git HEAD" returned status code 128: stdout: stderr: fatal: unable to access ' https://username@company.com/some/path/android.git/ ': Unknown SSL protocol error in connection to onestash.verizon.com:443 无法连接到存储库:命令“ git.exe -c core.askpass = true ls-remote -h https://username@company.com/some/path/android.git HEAD”返回状态码128:stdout:stderr :致命:无法访问' https://username@company.com/some/path/android.git/ ':与onestash.verizon.com相关的未知SSL协议错误:443

Can any one tell me what are the possible reasons to get this error. 任何人都可以告诉我发生此错误的可能原因是什么。 I am able to access the repository from commandline. 我可以从命令行访问存储库。

在詹金斯配置期间出错

Check your plugin settings. 检查您的插件设置。

Follow these steps:- 跟着这些步骤:-

  1. Open jenkins. 打开詹金斯。
  2. Click on 'Manage Jenkins' 点击“管理詹金斯”
  3. Click on 'Manage Plugins' 点击“管理插件”
  4. Click on 'Advanced' tab. 点击“高级”标签。
  5. Delete the 'Server' and 'Port' textbox. 删除“服务器”和“端口”文本框。
  6. Click on 'Submit' button under 'HTTP Proxy Configuration' section. 单击“ HTTP代理配置”部分下的“提交”按钮。
  7. Click on 'Submit' button under 'Upload Plugin' section. 点击“上传插件”部分下的“提交”按钮。
  8. Restart jenkins and observe. 重新启动詹金斯并观察。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM