一起学CICD 08.gitlab+jenkins+maven+sonar+nodejs pipeline构建

gitlab+jenkins+maven+sonar+nodejs pipeline

环境

ip hostname soft
192.168.48.52 gitlab gitlab
192.168.48.53 jenkins jdk1.8,jenkins,maven,nodejs,sonar
192.168.48.56 web jdk1.8 nginx mysql

原项目下载

[root@gitlab home]# pwd
/home
[root@gitlab home]# git clone https://github.com/callicoder/spring-security-react-ant-design-polls-app.git
[root@gitlab home]# ll
total 0
drwxr-xr-x 6 root root 192 Aug 25 23:51 spring-security-react-ant-design-polls-app
[root@gitlab spring-security-react-ant-design-polls-app]# ll
total 320
drwxr-xr-x 2 root root    123 Aug 25 23:51 deployments
-rw-r--r-- 1 root root   1962 Aug 25 23:51 docker-compose.yml
-rw-r--r-- 1 root root     75 Aug 25 23:51 minikube.txt
drwxr-xr-x 4 root root    212 Aug 25 23:51 polling-app-client
drwxr-xr-x 4 root root    108 Aug 25 23:51 polling-app-server
-rw-r--r-- 1 root root   2657 Aug 25 23:51 Readme.md
-rw-r--r-- 1 root root 314392 Aug 25 23:51 screenshot.png

gitlab

创建polling-app-server

在这里插入图片描述

在这里插入图片描述

[root@gitlab ~]# git clone git@192.168.48.52:test01/polling-app-server.git
Cloning into 'polling-app-server'...
warning: You appear to have cloned an empty repository.

[root@gitlab ~]# cd /home/spring-security-react-ant-design-polls-app/polling-app-server/
[root@gitlab polling-app-server]# ll -a
total 28
drwxr-xr-x 4 root root  108 Aug 25 23:51 .
drwxr-xr-x 6 root root  192 Aug 25 23:51 ..
-rw-r--r-- 1 root root 1038 Aug 25 23:51 Dockerfile
-rw-r--r-- 1 root root  419 Aug 25 23:51 .gitignore
drwxr-
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值