在Spacewalk中配置Jenkins仓库

时间:2018-08-19 19:13:43

标签: jenkins spacewalk

我正在尝试在Spacewalk中配置Jenkins Debian Repo。

使用

中提到的主仓库位置

https://downloads.cloudbees.com/jenkins-enterprise/rolling/debian/

Spacewalk服务器的版本为2.6,并在CentOS Linux版本7.4.1708(核心)上运行

要使用Jenkins设置基于Debian(Ubuntu)的系统,您必须:

  1. 首先将密钥添加到您的系统中:
  

wget -q -O-   https://downloads.cloudbees.com/jenkins-enterprise/rolling/debian/cloudbees.com.key   | sudo apt键添加-

  1. 然后在/etc/apt/sources.list中添加以下条目:
  

$ deb https://downloads.cloudbees.com/jenkins-enterprise/rolling/debian   二进制/

所以我在主机CentOS(将托管Jenkins存储库)上做了以下操作

  1. mkdir / var / www / html / pub / jenkins-debian
  2. repotrack -a x86_64 -p / var / www / html / pub / jenkins-debian / --urls https://downloads.cloudbees.com/jenkins-enterprise/rolling/debian

  3. 现在命令:

> spacewalk-repo-sync -vvv -n -c jenkins-debian
>     19:08:33 ======================================
>     19:08:33 | Channel: jenkins-debian
>     19:08:33 ======================================
>     19:08:33 Sync of channel started.
>     19:08:33 Repo URL: https://downloads.cloudbees.com/jenkins-enterprise/rolling/debian
>     19:08:34 ERROR: failure: repodata/repomd.xml from jenkins-enterprise_rolling_debian: [Errno 256] No more mirrors to try.
>     https://downloads.cloudbees.com/jenkins-enterprise/rolling/debian/repodata/repomd.xml:
> [Errno 14] curl#58 - "unable to load client key: -8178
> (SEC_ERROR_BAD_KEY)"
>     19:08:34 Sync of channel completed in 0:00:00.
  1. 我也尝试过:
  

$。/ debianSync.py -r https://downloads.cloudbees.com/jenkins-enterprise/rolling/debian -c   jenkins-debian -u管理员-p密码

获取错误:

  

INFO:回购网址:   https://downloads.cloudbees.com/jenkins-enterprise/rolling/debian   信息:回购根目录:无错误:无法确定回购根目录   打开GitHub问题!追溯(最近一次通话):

0 个答案:

没有答案