Jenkins持续化集成 Git配置

发布于 2018-02-02 | 作者: 江上善根 | 来源: 网易号 | 转载于: 网易号

1、进入系统管理、点击Global Tool Configuration

2、找到git栏目,设置本地git路径,保存,在此设置之前需安装git plugin插件

3、进入项目配置页,源码管理选择git,填写git仓库地址,点击add 配置账户密码

如果出现fatal: unable to access 'https://github.com/konsumer/arduinoscope.git/' error setting certificate verify locations:CAfile: D:Program FilesGitmingw64/bin/curl-ca-bundle.crtCApath: none 错误 使用git bash 执行git config --system http.sslverify false命令

4、回到项目配置页,没有出现红色错误了,git配置成功