File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Jenkins插件有以下两种获取方式:
2525``` shell
2626bash ./scripts/base/install_bin.sh
2727```
28- 将` client ` 目录下的` config.ini ` 文件中的` <Server IP地址> ` 替换部署的开源版TCA的IP (可包含端口号)
28+ 将` client ` 目录下的` config.ini ` 文件中的` <Server IP地址> ` 替换部署的开源版TCA的IP地址 (可包含端口号)
2929
3030## 使用插件
3131### 在 TCA 创建团队和项目
@@ -66,6 +66,8 @@ Value:`GITPATH` Value:xxxx(路径不包含git)
6666
6767配置完成后点击【Save】保存。
6868
69+ ![ ] ( ../../../images/jenkins_tca_plugin_config.png )
70+
6971#### 方式二:pipeline语法配置 TCA 插件
7072在步骤中添加TCA插件参数配置语句,下面的配置语句可作为参考
7173
@@ -94,8 +96,6 @@ pipeline{
9496` threshold ` : 设置质量门禁值
9597` total ` : 是否全量扫描,填` ture ` 为全量扫描,不填或填` false ` 为增量扫描
9698
97- ![ ] ( ../../../images/jenkins_tca_plugin_config.png )
98-
9999### 启动构建并查看结果
100100点击【Build Now】启动构建。
101101进入构建任务,在【Console Output】中查看执行过程。
125125当质量门禁不通过时,会终止流水线(退出码:255)。
126126
127127### pipeline脚本使用质量门禁
128- 以下是pipeline使用质量门禁进行相应操作的示例 ,你可以在if和else部分写入你想要运行的脚本
128+ 以下是pipeline脚本使用质量门禁进行相应操作的示例 ,你可以在if和else部分写入你想要运行的脚本
129129
130130``` pipeline
131131pipeline{
You can’t perform that action at this time.
0 commit comments