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版本影响
标签:1.1,vim,systemctl,jenkins,Jenkins,兼容,2.346,JDK8 From: https://www.cnblogs.com/JIKes/p/18067194