Skip to content

Commit fd1aa85

Browse files
authored
Update Jenkins_Plugin.md
1 parent 5e74d7e commit fd1aa85

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: doc/zh/guide/插件/Jenkins_Plugin.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Value:`GITPATH` Value:xxxx(路径不包含git)
5252

5353
在构建任务的【Build】中选择【TCA】插件并配置以下参数:
5454

55-
`CodeAnalysis目录绝对路径`: 拉取到本地的CodeAnalysis开源仓库目录的绝对路径(例如:/Users/data/CodeAnalysis)
55+
`CodeAnalysis目录绝对路径`: 拉取到本地的CodeAnalysis开源仓库目录的绝对路径(例如:/data/CodeAnalysis)
5656
`团队ID`: 在 TCA 中创建的团队的标识ID,可在TCA【团队概览】中获取“团队唯一标识”
5757
`项目名称`: 在 TCA 中创建的项目的标识ID,可在TCA【项目概览】中获取“项目唯一标识”
5858
`Token`: 在 TCA 的【个人中心】->【个人令牌】中获取
@@ -77,14 +77,14 @@ pipeline{
7777
stages{
7878
stage('Build'){
7979
steps{
80-
TCA(codeAnalysisPath: '/Users/data/CodeAnalysis/', teamId: 'xxxx', projectName: 'demo', token: 'xxxxxxxxxxxx', branchName: 'master', languageType: 'Java', refSchemeID: '1', scanPlan: 'model', threshold: '90', total:true)
80+
TCA(codeAnalysisPath: '/data/CodeAnalysis/', teamId: 'xxxx', projectName: 'demo', token: 'xxxxxxxxxxxx', branchName: 'master', languageType: 'Java', refSchemeID: '1', scanPlan: 'model', threshold: '90', total:true)
8181
}
8282
}
8383
}
8484
}
8585
8686
```
87-
`codeAnalysisPath`: 拉取到本地的CodeAnalysis开源仓库目录的绝对路径(例如:/Users/data/CodeAnalysis)
87+
`codeAnalysisPath`: 拉取到本地的CodeAnalysis开源仓库目录的绝对路径(例如:/data/CodeAnalysis)
8888
`teamId`:团队ID
8989
`projectName`: 项目名称
9090
`token`: 在 TCA 的【个人中心】->【个人令牌】中获取
@@ -133,7 +133,7 @@ pipeline{
133133
stages{
134134
stage('Build'){
135135
steps{
136-
TCA(codeAnalysisPath: '/Users/data/CodeAnalysis/', teamId: 'xxxx', projectName: 'demo', token: 'xxxxxxxxxxxx', branchName: 'master', languageType: 'Java', refSchemeID: '1', scanPlan: 'model', threshold: '90', total:true)
136+
TCA(codeAnalysisPath: '/data/CodeAnalysis/', teamId: 'xxxx', projectName: 'demo', token: 'xxxxxxxxxxxx', branchName: 'master', languageType: 'Java', refSchemeID: '1', scanPlan: 'model', threshold: '90', total:true)
137137
script{
138138
def tca_status = readFile('tca_threshold.txt')
139139
if (tca_status == "success") {

0 commit comments

Comments
 (0)