jenkins安装

环境:centos7.4

jdk:1.8


1、软件下载:

wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key


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

2、软件安装:
yum install jenkins --nogpgcheck

/etc/init.d/jenkins restart

1、密码存放位置:
/var/lib/jenkins/secrets/initialAdminPassword

2、选择社区推荐的插件进行安装


================

安装完成进行使用
posted @ 2019-03-06 10:32  zhouyuqiang  阅读(95)  评论(0编辑  收藏  举报