阿里云linux上jenkins安装
1、复制粘贴就完事了
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.repo
2、复制粘贴就完事了
sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key
3、 先配个下载源(不配也行,这个第4步或许会报错:Failed to download metadata for repo ‘epel-modular。插件下不来)
编辑
vim /etc/yum.repos.d/epel-modular.repo
注释掉
baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Modular/$basearch
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-modular-$releasever&arch=$basearch&infra=$infra&content=$contentdir
新增
baseurl=http://mirrors.cloud.aliyuncs.com/epel/8/Everything/$basearch
大概