Jenkins+GitLab+Sonarqube+Shell持续集成CI/CD

1、部署GitLab

[ ~]# wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-12.0.3-ce.0.el7.x86_64.rpm

[ ~]# yum localinstall -y gitlab-ce-12.0.3-ce.0.el7.x86_64.rpm

[ ~]# vim /etc/gitlab/gitlab.rb  #修改url

[ ~]# gitlab-ctl start

[ ~]# gitlab-ctl reconfigure 

[ ~]# gitlab-ctl status

2、部署Jenkins

3、Sonar代码审计

4、参数化构建

5、git参数化构建

相关推荐