创建新Jenkins作业时出错:无法连接到存储库:状态码128 [英] Error while creating new Jenkins job: Failed to connect to repository : status code 128
问题描述
请指导如何解决此问题。
通过SSH克隆Git存储库,您可以指定ssh://这样的URL:
$ git clone ssh://user@server/project.git
或者你可以使用较短的类似于scp的语法来实现SSH协议:
$ git clone user @ server:project.git
New to Jenkins, I am trying to create a jenkins job using web client. It shows following error: "Failed to connect to repository : Command "git ls-remote -h https://user.name@atlstash.corp.bayadv/scm/qa/qa-auto-framework-selenium.git HEAD" returned status code 128: stdout: stderr: error: while accessing https://user.name@atlstash.corp.bayadv/scm/qa/qa-auto-framework-selenium.git/info/refs fatal: HTTP request failed"
My STASH URL : https://user.name@atlstash.corp.bayadv/scm/qa/qa-auto-framework-selenium.git
I tried executing the same command on command prompt, its working fine. Had to fire following cmd before that: export GIT_SSL_NO_VERIFY=true.
My user has push/pull access right.
I have seen some using below URL. Confused when to use ssh tag. ssh://git@atlstash.corp.cmz/icc/adapter-derivation-individual.git
Please guide how can I resolve this issue.
clone a Git repository over SSH, you can specify ssh:// URL like this:
$ git clone ssh://user@server/project.git
Or you can use the shorter scp-like syntax for the SSH protocol:
$ git clone user@server:project.git
这篇关于创建新Jenkins作业时出错:无法连接到存储库:状态码128的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!