Jenkins的安装和配置(Centos 88服务器)
1)通过yum安装Jenkins
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
sudo yum install jenkins
2)配置文件/etc/sysconfig/jenkins,然后启动Jenkins。
JENKINS_USER="root"
JENKINS_PORT="36666"
2)停掉Jenkins。修改插件安装的仓库的地址。然后启动Jenkins,下载插件。