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

1、部署GitLab

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

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

  [root@ci-node03 ~]# vim /etc/gitlab/gitlab.rb  #修改url

  [root@ci-node03 ~]# gitlab-ctl start

  [root@ci-node03 ~]# gitlab-ctl reconfigure 

  [root@ci-node03 ~]# gitlab-ctl status

2、部署Jenkins

3、Sonar代码审计

4、参数化构建

5、git参数化构建

猜你喜欢

转载自www.cnblogs.com/tichy/p/12080299.html