最近在自学自动化部署,用到了jenkins但是一直拉取gitee上的代码失败,尝试了网上各自配置项目的方法都不行,报错如下
由用户 c 启动
构建中 在工作空间 C:\Users\Administrator\.jenkins\workspace\baidu 中
Cloning the remote Git repository
Cloning repository https://gitee.com/c/s.git
> D:\Git\git-cmd.exe init C:\Users\Administrator\.jenkins\workspace\baidu # timeout=10
Fetching upstream changes from https://gitee.com/c/s.git
> D:\Git\git-cmd.exe --version # timeout=10
> D:\Git\git-cmd.exe --version # timeout=10
> D:\Git\git-cmd.exe --version # timeout=10
using GIT_ASKPASS to set credentials
> D:\Git\git-cmd.exe fetch --tags https://gitee.com/c/s.git +refs/heads/*:refs/remotes/origin/*
> D:\Git\git-cmd.exe config remote.origin.url https://gitee.com/c/s.git # timeout=10
> D:\Git\git-cmd.exe config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> D:\Git\git-cmd.exe config remote.origin.url https://gitee