简体   繁体   English

报告同步会在Jenkins作业中引发提取错误

[英]report sync throws fetch error in Jenkins job

I have three gerrit repos from where I will be doing ""repo sync". 我有三个gerrit repos,我将在那里做“repo sync”。

When I do manually repo sync it works fine, but if the same is triggered via a jenkins job it is throwing the following error 当我手动repo sync它工作正常,但如果通过jenkins工作触发相同,它会抛出以下错误

Fetching proerror: Cannot fetch fss_basic
error: Exited sync due to fetch errors

And it happens only for a specific gerrit repo server. 它只发生在特定的gerrit repo服务器上。

I was trying to create ssh key for an user in the PC which is logged in with his account (linux platform) and tried adding those ssh keys in the gerrit server with logged in with my account as that guy was on vacation. 我正在尝试为PC中的用户创建ssh密钥,该用户使用他的帐户(linux平台)登录,并尝试在gerrit服务器中添加这些ssh密钥,并登录我的帐户,因为那个人正在度假。

Then I asked that guy to add those ssh keys in the gerrit server with his account logged in, it started to fetch without any error. 然后我要求那个人在他的帐户登录时在gerrit服务器中添加这些ssh密钥,它开始获取没有任何错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM