jenkins 解决No Git repository configured in SCM configuration or plugin is configured wrong
·
# 英文
The default value has been returned
No Git repository configured in SCM configuration or plugin is configured wrong
Option 'Use repository' is set as: 'https://gitee.com/xxx.git'
Please check the configuration
# 中文
已返回默认值
没有在 SCM 配置或者插件中的 Git 存储库配置错误
选项"使用仓库"设置为: "https://gitee.com/xxx.git"
请检查配置
前置检查
1.人工在jenkins所在服务器主机确认可以拉取代码,没有访问限制问题。
2.确认配置没有问题,并设置了默认分支,一般是master
终极操作
使用默认master先构建一次,也就是去拉取一次完整的代码
第二次去配置参数构建时就能看到所有的代码分支
更多推荐
所有评论(0)