在配置jenkins 源碼管理 遠(yuǎn)程鏈接git時(shí) 提示 報(bào)錯(cuò)
Failed to connect to repository : Command"usr/bin/git ls-remote -h http://admin@192.138.3.13:8005/scm/tes/repository-test.git HEAD" returned status code 128:
stdout:
stderr: fatal: unable to access ‘http://admin@192.138.5.102:8005/scm/tes/repository-test.git/’: The requested URL returned error: 403文章來源:http://www.zghlxwxcb.cn/news/detail-510109.html
解決辦法:
1、配置秘鑰 密碼為遠(yuǎn)程倉庫登錄密碼
2、配置好秘鑰后還是不行 要注意 本地倉庫鏈接遠(yuǎn)程倉庫的路徑 得是https的,不能是ssh的(看公司配置,有的可能是ssh),重新更換url即可文章來源地址http://www.zghlxwxcb.cn/news/detail-510109.html
到了這里,關(guān)于jenkins 源碼管理 returned status code 128: stdout: stderr: fatal: unable to access “****” 403 解決辦法的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!