gitlab-runner运行流水线过程中出现报错

1、提示error: could not lock config file D:\gitlab-runner\builds\fJW28yU8\0\auto_test_10\auto_test_dp201.tmp\git-template\config: No such file or directory

 

 

 解决方式:

1、安装高版本PowerShell-7.3.2-win-x64.msi

2、将gitlab-runner中的shell配置改为‘pwsh’

 

 3、重启gitlabrunenr服务

再次运行流水线任务

2、流水线运行提示git-lfs/2.13.3 (GitHub; windows amd64; go 1.16.2; git a5e65851)  gitobj/pack: bad pack header

 

 如果存在加密软件,将gitlab-runner文件夹中clone的文件解锁后运行

 

posted @ 2023-02-21 16:03  jokeryy  阅读(1513)  评论(0编辑  收藏  举报