【发布时间】:2017-02-17 05:18:28
【问题描述】:
我正在尝试在 linux 机器上安装 Jenkins: 后续步骤:
1> wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
2 >rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
在导入密钥时我得到了
error: https://jenkins-ci.org/redhat/jenkins-ci.org.key: import read failed(-1).
请帮我解决这个问题。
vi /etc/yum.repos.d/jenkins.repo
[jenkins]
name=Jenkins-stable
baseurl=http://pkg.jenkins.io/redhat-stable
gpgcheck=1
【问题讨论】: