hudson.plugins.git.GitException
使用jenkins构建工程时报错
[EnvInject] - Loading node environment variables.
Building in workspace /data/jenkins/workspace/project-name> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository> git config remote.origin.url ssh://git@gitlab.xx.domain:10022/project/project-name.git # timeout=10
Fetching upstream changes from ssh://git@gitlab.xx.domain:10022/project/project-name.git> git --version # timeout=10
using GIT_SSH to set credentials deploy-key> git fetch --tags --progress ssh://git@gitlab.xx.domain:10022/project/project-name.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from ssh://git@gitlab.xx.domain:10022/project/project-name.gitat hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:825)at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1092)at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1123)at hudson.scm.SCM.checkout(SCM.java:495)at hudson.model.AbstractProject.checkout(AbstractProject.java:1202)at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)at hudson.model.Run.execute(Run.java:1727)at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)at hudson.model.ResourceController.execute(ResourceController.java:97)at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress ssh://git@gitlab.xx.domain:10022/project/project-name.git +refs/heads/*:refs/remotes/origin/*" returned status code 1:
stdout:
stderr: error: there are still refs under 'refs/remotes/origin/dev'
From ssh://gitlab.xx.domain:10022/project/project-name! [new branch] dev -> origin/dev (unable to update local ref)4f5b2e5..969713f master -> origin/master4f5b2e5..969713f test -> origin/testat org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1970)at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1689)at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71)at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:380)at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:823)... 11 more
ERROR: Error fetching remote repo 'origin'
Finished: FAILURE
删除/data/jenkins/workspace/project-name后重新构建
hudson.plugins.git.GitException相关推荐
- Caused by: hudson.plugins.git.GitException: Command “git fetch --tags --progress -- https://github.
一.问题描述: 由于最近一直在搞java开发,没怎么搞cicd了,突然想搞搞自己的项目,所以跑了一下jenkins,却发现原来搭好的job执行失败,GitHub上面的代码拉不下来 ERROR: Err ...
- jenkins报错hudson.plugins.git.GitException: Could not init /root/.jenkins/workspace/DeployOrder/order
运行Jenkins部署任务 gblfy 2019-05-21 14:08:51 1881 收藏 分类专栏: Jenkins 版权 一.运行Jenkins部署任务 1. 执行Jenkins部署任务 ...
- jenkins构建时git报错:hudson.plugins.git.GitException: Failed to fetch from
问题: jenkins拉取远程代码构建git报错:hudson.plugins.git.GitException: Failed to fetch from 拉不到远程分支 提示信息如下 ERROR: ...
- jenkins构建:ERROR: Error fetching remote repo ‘origin‘(hudson.plugins.git.GitException/does not point)
[EnvInject] - Loading node environment variables. 构建中 在工作空间 /Users/jenkins/workspace/XXX 中> git r ...
- Jenkins构建时报错 GitERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException
--昨夜西风凋碧树,独上高楼,望尽天涯路 Jenkins + GitLab持续集成时遇到如下错误: ERROR: Error cloning remote repo 'origin' hudson.p ...
- Jenkins+GitHub报错hudson.plugins.git.GitException: Failed to fetch from GitHub 443
偶然?总是? 在配置 源码管理的时候 使用https 进行代码的下载 配置的是用户名和密码 但是在执行构建的时候,总是会报错 443,但是偶尔也会有几次成功下载的,所以就很奇怪!!!!!!!!!! f ...
- git.exe init#timeout = 10错误:克隆远程repo'origin'时出错hudson.plugins.git
用Jenkins自动化搭建测试环境,Jenkins构建任务 关键异常抓取 git.exe init#timeout = 10错误:克隆远程repo'origin'时出错hudson.plugins.g ...
- linux git hudson,如何使用SSH密钥配置Hudson和git插件
我的Hudson(连续集成系统)的git插件在Tomcat Windows服务上运行.已安装msysgit,并且msysgit bin目录位于路径中.已安装PuTTY / Pageant / plin ...
- Jenkins无法启动:com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy
问题描述: Jenkins重启后无法启动提示:Please wait while Jenkins is getting ready to work...(Jenkins正在准备工作,请稍后...) 问 ...
最新文章
- 翻译机之后,搜狗再推智能硬件产品录音笔
- 【BZOJ】1013 [JSOI2008]球形空间产生器sphere
- 虚拟化--图解交互式方式安装ESXi_5.0的过程
- 京东自建数据中心核心技术解密——运营管理篇
- java中的JDBC用户管理系统_Java+JDBC学生信息管理系统
- Copy ArrayList的四种方式
- java连接hbase_HBase实战 | 05405.15.0Spark2使用HBaseSpark访问HBase
- JAVA并发编程的挑战
- pytorch---tensor.view()
- Python连接SQL Server数据获取2
- HTML:实现旋转地球特效
- 20121214收藏
- 小米蓝牙耳机airdots青春版双耳模式
- 80psi等于多少kpa_1公斤的气压是多少KPA?
- 一个项目从立项到终结
- EFS加密文件重装系统无法打开图标带小锁显示绿色解密
- JDBC SSL连接MySQL
- 程序员代码中的希腊字母表示
- 如何安装UOS操作系统
- 2017年8月14日套题记录 | 普及组