|
|
@ -16,7 +16,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
持续部署(Continuous Delivery, CD): 将最终产品发布到生成环境、给用户使用
|
|
|
|
持续部署(Continuous Delivery, CD): 将最终产品发布到生成环境、给用户使用
|
|
|
|
|
|
|
|
|
|
|
|
![img](%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/0WaK2RCAIQn6ytKwCxHoeQ.png)
|
|
|
|
![img](https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/0WaK2RCAIQn6ytKwCxHoeQ.png)
|
|
|
|
|
|
|
|
|
|
|
|
#### 2.理解持续集成、持续交付、持续部署
|
|
|
|
#### 2.理解持续集成、持续交付、持续部署
|
|
|
|
|
|
|
|
|
|
|
@ -26,7 +26,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
持续集成主要是强调开发人员提交了新代码之后,立刻进行构建、(单元)测试。根据测试结果,我们可以确定新代码和原有代码能否正确地集成在一起。简单来讲就是:频繁地(一天多次)将代码集成到主干
|
|
|
|
持续集成主要是强调开发人员提交了新代码之后,立刻进行构建、(单元)测试。根据测试结果,我们可以确定新代码和原有代码能否正确地集成在一起。简单来讲就是:频繁地(一天多次)将代码集成到主干
|
|
|
|
|
|
|
|
|
|
|
|
![img](%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/YBxLswP38Pz6opB-CfVT-A.png)
|
|
|
|
![img](https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/YBxLswP38Pz6opB-CfVT-A.png)
|
|
|
|
|
|
|
|
|
|
|
|
持续集成目的在产生以下效益:
|
|
|
|
持续集成目的在产生以下效益:
|
|
|
|
|
|
|
|
|
|
|
@ -48,7 +48,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
持续交付在持续集成的基础上,将集成后的代码部署到更贴近真实运行环境的「类生产环境」(production-like environments)中。比如,我们完成单元测试后,可以把代码部署到连接数据库的Staging 环境中更多的测试。如果代码没有问题,可以继续手动部署到生产环境中
|
|
|
|
持续交付在持续集成的基础上,将集成后的代码部署到更贴近真实运行环境的「类生产环境」(production-like environments)中。比如,我们完成单元测试后,可以把代码部署到连接数据库的Staging 环境中更多的测试。如果代码没有问题,可以继续手动部署到生产环境中
|
|
|
|
|
|
|
|
|
|
|
|
![img](%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/llhsWI4PyQP79NHPB6qpgA.png)
|
|
|
|
![img](https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/llhsWI4PyQP79NHPB6qpgA.png)
|
|
|
|
|
|
|
|
|
|
|
|
###### 持续部署:
|
|
|
|
###### 持续部署:
|
|
|
|
|
|
|
|
|
|
|
@ -58,13 +58,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
持续部署即在持续交付的基础上,把部署到生产环境的过程自动化
|
|
|
|
持续部署即在持续交付的基础上,把部署到生产环境的过程自动化
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/ciLVxJAlhZtZ1N3aEnxfzw.png" alt="img" style="zoom: 80%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/ciLVxJAlhZtZ1N3aEnxfzw.png" alt="img" style="zoom: 80%;" />
|
|
|
|
|
|
|
|
|
|
|
|
## 二:Jenkins CI/CD
|
|
|
|
## 二:Jenkins CI/CD
|
|
|
|
|
|
|
|
|
|
|
|
#### 1.Jenkins CI/CD 流程图
|
|
|
|
#### 1.Jenkins CI/CD 流程图
|
|
|
|
|
|
|
|
|
|
|
|
![img](%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/eBMhIj4AgzudBm3Fs4383Q.png)
|
|
|
|
![img](https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/eBMhIj4AgzudBm3Fs4383Q.png)
|
|
|
|
|
|
|
|
|
|
|
|
注意:
|
|
|
|
注意:
|
|
|
|
|
|
|
|
|
|
|
@ -80,7 +80,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
#### 2.Jenkins 介绍
|
|
|
|
#### 2.Jenkins 介绍
|
|
|
|
|
|
|
|
|
|
|
|
![img](%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/7qiG4RjufBF6q708fXRwWg.png)
|
|
|
|
![img](https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/7qiG4RjufBF6q708fXRwWg.png)
|
|
|
|
|
|
|
|
|
|
|
|
Jenkins 是一个用Java编写的开源的持续集成工具。在与Oracle发生争执后,项目从Hudson项目独立
|
|
|
|
Jenkins 是一个用Java编写的开源的持续集成工具。在与Oracle发生争执后,项目从Hudson项目独立
|
|
|
|
|
|
|
|
|
|
|
@ -234,7 +234,7 @@ Tomcat started.
|
|
|
|
5d3f57bea6e546139fc48ea28f9d5ae5
|
|
|
|
5d3f57bea6e546139fc48ea28f9d5ae5
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
![img](%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/LqMyfFJ8yikl8MXGGT34GA.png)
|
|
|
|
![img](https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/LqMyfFJ8yikl8MXGGT34GA.png)
|
|
|
|
|
|
|
|
|
|
|
|
以下是可选操作:
|
|
|
|
以下是可选操作:
|
|
|
|
|
|
|
|
|
|
|
@ -260,13 +260,13 @@ https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json
|
|
|
|
http://mirror.esuni.jp/jenkins/updates/update-center.json
|
|
|
|
http://mirror.esuni.jp/jenkins/updates/update-center.json
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
![img](%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/VJnJuX0UtAAq4MI5ErJxVA.png)
|
|
|
|
![img](https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/VJnJuX0UtAAq4MI5ErJxVA.png)
|
|
|
|
|
|
|
|
|
|
|
|
![img](%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/UE7pdxoWLdHQT7kSZVJnrg.png)
|
|
|
|
![img](https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/UE7pdxoWLdHQT7kSZVJnrg.png)
|
|
|
|
|
|
|
|
|
|
|
|
![img](%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/T5oHqFkQJyXk1uCy4Wqlsg.png)
|
|
|
|
![img](https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/T5oHqFkQJyXk1uCy4Wqlsg.png)
|
|
|
|
|
|
|
|
|
|
|
|
![img](%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/ExigZjVs8eZyJhPLjrNAWw.png)
|
|
|
|
![img](https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/ExigZjVs8eZyJhPLjrNAWw.png)
|
|
|
|
|
|
|
|
|
|
|
|
## 三:Jenkins使用
|
|
|
|
## 三:Jenkins使用
|
|
|
|
|
|
|
|
|
|
|
@ -286,31 +286,31 @@ http://mirror.esuni.jp/jenkins/updates/update-center.json
|
|
|
|
|
|
|
|
|
|
|
|
系统管理->管理插件-可选插件->搜索该插件选中直接安装即可
|
|
|
|
系统管理->管理插件-可选插件->搜索该插件选中直接安装即可
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220625122837436.png" alt="image-20220625122837436" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220625122837436.png" alt="image-20220625122837436" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220625122922074.png" alt="image-20220625122922074" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220625122922074.png" alt="image-20220625122922074" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
#### 3.开启该插件功能
|
|
|
|
#### 3.开启该插件功能
|
|
|
|
|
|
|
|
|
|
|
|
系统管理->全局安全设置-授权策略->选中该插件功能即可->保存
|
|
|
|
系统管理->全局安全设置-授权策略->选中该插件功能即可->保存
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220625123057912.png" alt="image-20220625123057912" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220625123057912.png" alt="image-20220625123057912" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220625123142667.png" alt="image-20220625123142667" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220625123142667.png" alt="image-20220625123142667" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
#### 4. 验证用户管理
|
|
|
|
#### 4. 验证用户管理
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220625123328336.png" alt="image-20220625123328336" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220625123328336.png" alt="image-20220625123328336" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
注册一个新用户:
|
|
|
|
注册一个新用户:
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220625123633639.png" alt="image-20220625123633639" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220625123633639.png" alt="image-20220625123633639" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220625123719754.png" alt="image-20220625123719754" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220625123719754.png" alt="image-20220625123719754" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
新用户登录验证:
|
|
|
|
新用户登录验证:
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220625123832362.png" alt="image-20220625123832362" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220625123832362.png" alt="image-20220625123832362" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
注意:
|
|
|
|
注意:
|
|
|
|
|
|
|
|
|
|
|
@ -322,9 +322,9 @@ http://mirror.esuni.jp/jenkins/updates/update-center.json
|
|
|
|
|
|
|
|
|
|
|
|
安装 Role-Based Strategy 插件后,系统管理 中多了如图下所示的一个功能,用户权限的划分就是靠他来做的
|
|
|
|
安装 Role-Based Strategy 插件后,系统管理 中多了如图下所示的一个功能,用户权限的划分就是靠他来做的
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220625124115019.png" alt="image-20220625124115019" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220625124115019.png" alt="image-20220625124115019" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220625124135649.png" alt="image-20220625124135649" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220625124135649.png" alt="image-20220625124135649" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
Manage Roles(管理角色):
|
|
|
|
Manage Roles(管理角色):
|
|
|
|
|
|
|
|
|
|
|
@ -368,15 +368,15 @@ node roles:
|
|
|
|
|
|
|
|
|
|
|
|
Pattern:是用来做正则匹配的(匹配的内容是节点(slave节点)),比如说根据正则匹配到的项目项目角色就都有权限
|
|
|
|
Pattern:是用来做正则匹配的(匹配的内容是节点(slave节点)),比如说根据正则匹配到的项目项目角色就都有权限
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220626141733141.png" alt="image-20220626141733141" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220626141733141.png" alt="image-20220626141733141" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
将diandian用户绑定全局和项目权限:
|
|
|
|
将diandian用户绑定全局和项目权限:
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220626142022912.png" alt="image-20220626142022912" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220626142022912.png" alt="image-20220626142022912" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
diandian用户查看:
|
|
|
|
diandian用户查看:
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220626141942574.png" alt="image-20220626141942574" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220626141942574.png" alt="image-20220626141942574" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
#### 6.Jenkins 参数化构建
|
|
|
|
#### 6.Jenkins 参数化构建
|
|
|
|
|
|
|
|
|
|
|
@ -396,39 +396,39 @@ node roles:
|
|
|
|
|
|
|
|
|
|
|
|
Git Paramete
|
|
|
|
Git Paramete
|
|
|
|
|
|
|
|
|
|
|
|
![image-20220626142500087](%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220626142500087.png)
|
|
|
|
![image-20220626142500087](https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220626142500087.png)
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220626142616802.png" alt="image-20220626142616802" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220626142616802.png" alt="image-20220626142616802" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
项目配置:
|
|
|
|
项目配置:
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220626142826896.png" alt="image-20220626142826896" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220626142826896.png" alt="image-20220626142826896" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220626142926277.png" alt="image-20220626142926277" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220626142926277.png" alt="image-20220626142926277" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
参数配置:
|
|
|
|
参数配置:
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220626143141874.png" alt="image-20220626143141874" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220626143141874.png" alt="image-20220626143141874" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
这里这个branch 就相当于给其当做一个变量,然后来为其进行传参:
|
|
|
|
这里这个branch 就相当于给其当做一个变量,然后来为其进行传参:
|
|
|
|
|
|
|
|
|
|
|
|
![](%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220626144229208.png)
|
|
|
|
![](https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220626144229208.png)
|
|
|
|
|
|
|
|
|
|
|
|
构建选择执行shell进行测试:
|
|
|
|
构建选择执行shell进行测试:
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220626143702106.png" alt="image-20220626143702106" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220626143702106.png" alt="image-20220626143702106" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220626143848722.png" alt="image-20220626143848722" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220626143848722.png" alt="image-20220626143848722" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
参数化配置已经生效:
|
|
|
|
参数化配置已经生效:
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220626144303324.png" alt="image-20220626144303324" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220626144303324.png" alt="image-20220626144303324" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
构建 test2:
|
|
|
|
构建 test2:
|
|
|
|
|
|
|
|
|
|
|
|
可以发现控制台的输出也是成功了的
|
|
|
|
可以发现控制台的输出也是成功了的
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220626144556341.png" alt="image-20220626144556341" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220626144556341.png" alt="image-20220626144556341" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
#### 7.数据来源选择文件
|
|
|
|
#### 7.数据来源选择文件
|
|
|
|
|
|
|
|
|
|
|
@ -441,15 +441,15 @@ abc=t1,t2,t3,t4
|
|
|
|
|
|
|
|
|
|
|
|
web 端配置:
|
|
|
|
web 端配置:
|
|
|
|
|
|
|
|
|
|
|
|
![img](%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/0USIqGXVd0iujSq_YmjGHg.png)
|
|
|
|
![img](https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/0USIqGXVd0iujSq_YmjGHg.png)
|
|
|
|
|
|
|
|
|
|
|
|
进行测试:
|
|
|
|
进行测试:
|
|
|
|
|
|
|
|
|
|
|
|
<img src="%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220626145317041.png" alt="image-20220626145317041" style="zoom:50%;" />
|
|
|
|
<img src="https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220626145317041.png" alt="image-20220626145317041" style="zoom:50%;" />
|
|
|
|
|
|
|
|
|
|
|
|
构建后查看结果:(也是成功的)
|
|
|
|
构建后查看结果:(也是成功的)
|
|
|
|
|
|
|
|
|
|
|
|
![image-20220626145443936](%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90-%E4%BA%A4%E4%BB%98-%E5%8F%91%E5%B8%83.assets/image-20220626145443936.png)
|
|
|
|
![image-20220626145443936](https://xingdian-image.oss-cn-beijing.aliyuncs.com/xingdian-image/image-20220626145443936.png)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|