Jenkins 构建报错:Couldn‘t find any revision to build. Verify the repository and branch configuration for

这篇具有很好参考价值的文章主要介绍了Jenkins 构建报错:Couldn‘t find any revision to build. Verify the repository and branch configuration for。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

1.错误信息:

Couldn’t find any revision to build. Verify the repository and branch configuration for this job.
Jenkins 构建报错:Couldn‘t find any revision to build. Verify the repository and branch configuration for,Linux,jenkins

2. 错误原因

Jenkins调用git时用了默认的*/master,而gitlab这边使用的是main
Jenkins 构建报错:Couldn‘t find any revision to build. Verify the repository and branch configuration for,Linux,jenkins

3. 解决故障

将Jenkins设置成main即可
Jenkins 构建报错:Couldn‘t find any revision to build. Verify the repository and branch configuration for,Linux,jenkins

4. 故障排除

Jenkins 构建报错:Couldn‘t find any revision to build. Verify the repository and branch configuration for,Linux,jenkins文章来源地址https://www.toymoban.com/news/detail-615034.html

到了这里,关于Jenkins 构建报错:Couldn‘t find any revision to build. Verify the repository and branch configuration for的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • vscode中 rust-analyzer插件报错 failed to find any projects in [AbsPathBuf 或者FetchWorkspaceError的解决办法

    一般来说,如果vscode打开的是rust项目的根目录(即目录下有 Cargo.toml 和 src/ 文件),rust-analyzer插件可以识别到项目。 而如果rust项目只是vscode资源管理器打开的子目录,则有时会出现failed to find any projects in [AbsPathBuf xxx或者FetchWorkspaceError的报错,rust-analyzer也无法正常运行,如

    2024年02月19日
    浏览(37)
  • 解决raise FileNotFoundError(f“Couldn’t find any class folder in {directory}.“) FileNotFoundError: Coul

    在用pycharm运行深度神经网络加载数据时,发现报错 Traceback (most recent call last): File “D:/PyCharmWorkPlace/graduate_project/lsgan/main.py”, line 16, in class LSGAN: File “D:/PyCharmWorkPlace/graduate_project/lsgan/main.py”, line 125, in LSGAN dataset = dset.ImageFolder(root=dataroot, File “D:welcomeminicondaenvstensorflowl

    2024年02月07日
    浏览(35)
  • Error: Couldn‘t find preset “es2015“ relative to directory

    vue引入element-ui,运行时报了这个错误 按照element-ui中的步骤 把.babelrc 文件内容从 更改为了 然后运行时就报了这个问题 解决方案: 安装es2015 工具

    2024年02月11日
    浏览(29)
  • 踩坑:gitee报错fatal: Couldn‘t find remote ref master。

    在通过vscode提交代码到远程仓库的时候,报了这个错:fatal: Couldn\\\'t find remote ref master。 然后,我在网上找了超级多方法,基本都是检查仓库配置,我贴一下,看大家是否需要: 1.检查本地GIT的配置 使用以上命令来检查本地的用户名和邮箱是否填写正确 2.检查远程仓库配置 如

    2024年02月11日
    浏览(50)
  • 解决Git报错fatal: couldn‘t find remote ref –-allow-unrelated-histories 的解决办法

    当执行git中的“git pull origin master –allow-unrelated-histories”命令时, 如果出现 fatal: couldn\\\'t find remote ref –-allow-unrelated-histories 的错误,输入如下命令即可解决: git pull --rebase origin master git push origin master 点赞 -收藏-关注-便于以后复习和收到最新内容 有其他问题在评论区讨论-或

    2024年02月13日
    浏览(31)
  • 关于picgo图床报错“unable to verify the first certificate“

    关于picgo图床报错\\\"unable to verify the first certificate\\\" 编程上的疑难杂症(一) 问题:本人picgo加github图床上传出现以下问题 \\\"message\\\": \\\"unable to verify the first certificate\\\"(无法验证第一证书) 问题分析: 图床是github图床,工具是picgo,为了可以顺利访问github用到steam++(Watt Toolkit)加速

    2024年02月11日
    浏览(43)
  • Building Your Team-Jenkins持续构建环境搭建

    工欲善其事,必先利其器。 本文主要总结团队协助中,Jenkins持续构建环境搭建。 下文将分docker环境以及单机环境分别说明 Docker 环境安装 在Linux服务器上安装Docker环境,具体可以参考:https://docs.docker.com/engine/install/ubuntu/ 开放端口号 jenkins工作目录 Docker环境下安装Jenkins 参考

    2024年02月03日
    浏览(30)
  • Jenkins 利用Build With Parameters 插件实现选择参数构建

    jenkins是CI/CD中部署时候一个重要工具,可以按照我们需求进行配置一些编译打包测试工作,有些是全自动化的,有些需要进行手动参数进行触发。今天给大家分享一下Jenkins使用Build With Parameters插件,实现外置参数进行触发job。 作者:良知犹存 转载授权以及围观:欢迎关注微

    2024年02月12日
    浏览(65)
  • 《Kafka系列》Offset Explorer连接Kafka问题集合,Timeout expired while.. topic metadata,Uable to find any brokers

    1.创建语句如下所示,按照习惯在添加zookeeper参数的时候,指定了 zxy:2181/kafka ,但是却创建失败, Error while executing topic command : Replication factor: 1 larger than available brokers: 0. 2.检查各个broker的server.properties文件 发现在配置参数的时候, zookeeper.connect 指定的是 zxy:2181,zxy:2182,zxy:21

    2024年02月06日
    浏览(50)
  • 使用postman时,报错SSL Error: Unable to verify the first certificate

    开发中使用postman调用接口,出现以下问题,在确认路径、参数、请求方式均为正确的情况下 解决方法 File - Settings - SSL certification verification 关闭 找到图中配置,这里默认是打开状态,把它关闭即可:ON - OFF 再次请求接口 原因:使用 Postman 发起 HTTPS 请求时,它会验证服务器的

    2024年02月04日
    浏览(34)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包