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参数化构建


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM