问题描述

自己jenkins打包的时候,突然在设置里面报以下错误:

无法连接仓库:Command "git ls-remote -h -- http://gitlab.rd.unicloud.com/unicloud/pco/uco-ui-delivery-console.git HEAD" returned status code 128: stdout: stderr: remote: You are not allowed to download code from this project. fatal: unable to access 'http://gitlab.rd.unicloud.com/unicloud/pco/uco-ui-delivery-console.git/': The requested URL returned error: 403

在这里插入图片描述


原因分析:

是因为没有给Credentials添加账号的git权限。


解决方案:

需要找到项目是master权限的人,将账号分配Developer权限便可

在这里插入图片描述

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐