https://blog.csdn.net/qq_43592064/article/details/129493504
yum remove jenkins
wget https://mirrors.tuna.tsinghua.edu.cn/jenkins/redhat-stable/jenkins-2.346.3-1.1.noarch.rpm
yum -y install jenkins-2.346.3-1.1.noarch.rpm
systemctl status jenkins
修改埠
systemctl stop jenkins
vim /etc/sysconfig/jenkins
vim /usr/lib/systemd/system/jenkins.service
systemctl daemon-reload
啟動
systemctl start jenkins
jenkins war啟動方式
java -Xms256m -Xmx256m -XX:PermSize=256m -XX:PermSize=256m -jar jenkins.war --httpPort=8083
目前版本衝突 要麼安裝舊版本 jenkins 、要麼使用容器化執行專案 這個不會收到jdk版本影響