We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6c7335 + 493aa3c commit 81defe2Copy full SHA for 81defe2
.cnb.yml
@@ -1,14 +1,16 @@
1
# .cnb.yml
2
"**": # 触发的分支名,默认所有分支,按需修改
3
- push: # push触发,也可以用merge_request等触发
4
- # - docker:
5
- # # 该模式无需缓存
6
- # # 声明缓存目录,/data/tca_cache/tools 为TCA 工具存储目录
7
- # volumes:
8
- # - /data/tca_cache/tools:copy-on-write
+ push: # push 触发,可按需修改为 pull_request 等
9
- stages:
+ # 获取 git 变更文件列表,供TCA增量分析使用
+ - name: git-change-list
+ image: cnbcool/git-change-list:latest
+ settings:
+ # 变更文件列表输出到文件中
10
+ changed: changed.txt
11
# 代码分析
12
- name: TCA
13
image: tencentcom/tca-plugin:latest
14
settings:
15
+ from_file: changed.txt
16
block: false
0 commit comments