-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.yml
25 lines (24 loc) · 1.02 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
version: v2.0
stages:
- name: "stage1"
jobs:
job1:
runs-on:
pool-name: docker-on-devcloud #docker-on-devcloud、docker、local、agentless
container:
image: mirrors.tencent.com/ci/tlinux_ci:0.5.0.4
needs:
jdk: "1.8.0_161"
steps:
- uses: syncLocalCode@latest
name: 同步文件到云端插件
with:
syncGitRepository: true
- uses: CodeccCheckAtomDebug@4.*
name: 腾讯代码分析
with:
beAutoLang: true
# languages: # 工程语言, 可取值:"C_CPP", "JAVA", "C_SHARP", "JS", "OC", "PYTHON", "PHP", "RUBY", "GOLANG", "SWIFT", "TYPESCRIPT", "KOTLIN", "LUA", "OTHERS"
# - "JAVA"
checkerSetType: "openScan" #openScan对应按开源治理要求配置规则集,epcScan对应按PCG EPC要求配置,normal对应自主配置规则集
toolScanType: "0" # 扫描方式。0是全量扫描,1是增量扫描。