[英]fatal: Could not read from remote repository.error in using jenkins
I am using Jenkins to build from my git remote repository. 我正在使用Jenkins从git远程存储库构建。
What am I suppose to provide in the repo url field since I am using remote local system for cloning and building. 由于我使用远程本地系统进行克隆和构建,因此我想在repo url字段中提供什么。
Last time I give the clone command in the field and I got the error: 上一次我在该字段中给出clone命令时,出现错误:
stderr: fatal: '//se12/adempiere370new' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
What am I actually suppose to give in the url field? 我实际上应该在url字段中给出什么?
You need to make sure the user running the Jenkins Job has the right to access the remote folder which represents your remote repo monitored by Jenkins. 您需要确保运行Jenkins Job的用户有权访问代表由Jenkins监控的远程存储库的远程文件夹。
If you are on Windows (as your previous question tends to indicate), the path should be: 如果您使用的是Windows(正如您先前的问题经常指出的那样),则路径应为:
\\se12\adempiere370new
So make sure the user running Jenkins can do a dir \\\\se12\\adempiere370new
因此,请确保运行Jenkins的用户可以执行
dir \\\\se12\\adempiere370new
The OP Tony Davis mentions //se12/adempiere370new
works too, but the command must be git clone //se12/adempiere370new
, without any ' $
' in front of it. OP Tony Davis 提到
//se12/adempiere370new
也可以,但是命令必须是git clone //se12/adempiere370new
,前面没有任何“ $
”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.