jenkins

gitlab安装请参考

https://www.cnblogs.com/sswind/p/14356558.html

1.安装openjdk

https://www.openlogic.com/openjdk-downloads

http://openjdk.java.net/install/

2.安装jenkins

wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.repo
rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key
yum install jenkins

3.安装配置

#浏览器访问
192.168.80.122:8080

jenkins

jenkins

安装插件,根据需要选择

jenkins

创建用户

jenkins

保存并完成

jenkins

jenkins

4.安装gitlab插件

jenkins

jenkins

jenkins

jenkins

jenkins

5.新建任务

jenkins

jenkins

jenkins

6.构建触发器

jenkins

jenkins

打开gitlab

jenkins

jenkins

jenkins

7.测试

jenkinsjenkins

jenkins

jenkins

上一篇:【CentOS】yum方式安装Java


下一篇:centOS7安装openjdk