1.安装jenkins
wget -O /etc/yum.repos.d/jenkins.repohttp://pkg.jenkins-ci.org/redhat/jenkins.repo
rpm --importhttps://jenkins-ci.org/redhat/jenkins-ci.org.key
whereis jenkins
yum install jenkins
启动命令:service jenkins start/stop/restart
访问:http://1p:端口
2.jenkins配置
war包位置:/usr/lib/jenkins
修改端口号:/etc/sysconfig/jenkins
邮件模板位置:/var/lib/jenkins/email-templates