jenkins用老工程拉取问题,stderr: fatal: not in a git directory

at hudson.model.Executor.run(Executor.java:442)
Caused by: hudson.plugins.git.GitException: Command "/usr/bin/git config remote.origin.url https://github.com/a772616239/test2.git" returned status code 128:
stdout: 
stderr: fatal: not in a git directory

搞了很久,最后发现其实很简单,因为原工程的用户群组与git所需的不一致问题被git限制了,所以切回系统群组即可。

只需找到workspace工程右键显示简介,

点击这里,然后点击应用到包含的项目,将文件夹下所有文件的群组与jenkins git所需要的用户群组一致即可

相关推荐

  1. 解决docker镜像错误 missing signature key 问题

    2024-04-21 07:06:03       58 阅读
  2. git 克隆代码出现私钥权限问题

    2024-04-21 07:06:03       62 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-21 07:06:03       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-21 07:06:03       106 阅读
  3. 在Django里面运行非项目文件

    2024-04-21 07:06:03       87 阅读
  4. Python语言-面向对象

    2024-04-21 07:06:03       96 阅读

热门阅读

  1. UGUI父对象自适应子元素布局解决方案

    2024-04-21 07:06:03       30 阅读
  2. WPF Dispatcher使用invoke造成死锁

    2024-04-21 07:06:03       34 阅读
  3. MVC、MVP、MVVM

    2024-04-21 07:06:03       32 阅读
  4. leetcode821-Shortest Distance to a Character

    2024-04-21 07:06:03       30 阅读
  5. Ai语音机器人系统语音识别达到了什么水准

    2024-04-21 07:06:03       36 阅读
  6. 插件收集(idea Communtity Edtion)

    2024-04-21 07:06:03       33 阅读
  7. 【前端】用CSS实现div全屏铺满的方式

    2024-04-21 07:06:03       38 阅读
  8. js的map函数

    2024-04-21 07:06:03       28 阅读
  9. eNSP 静态路由综合实验

    2024-04-21 07:06:03       43 阅读