@@ -52,7 +52,7 @@ Value:`GITPATH` Value:xxxx(路径不包含git)
52
52
53
53
在构建任务的【Build】中选择【TCA】插件并配置以下参数:
54
54
55
- ` CodeAnalysis目录绝对路径 ` : 拉取到本地的CodeAnalysis开源仓库目录的绝对路径(例如:/Users/ data/CodeAnalysis)
55
+ ` CodeAnalysis目录绝对路径 ` : 拉取到本地的CodeAnalysis开源仓库目录的绝对路径(例如:/data/CodeAnalysis)
56
56
` 团队ID ` : 在 TCA 中创建的团队的标识ID,可在TCA【团队概览】中获取“团队唯一标识”
57
57
` 项目名称 ` : 在 TCA 中创建的项目的标识ID,可在TCA【项目概览】中获取“项目唯一标识”
58
58
` Token ` : 在 TCA 的【个人中心】->【个人令牌】中获取
@@ -77,14 +77,14 @@ pipeline{
77
77
stages{
78
78
stage('Build'){
79
79
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)
81
81
}
82
82
}
83
83
}
84
84
}
85
85
86
86
```
87
- ` codeAnalysisPath ` : 拉取到本地的CodeAnalysis开源仓库目录的绝对路径(例如:/Users/ data/CodeAnalysis)
87
+ ` codeAnalysisPath ` : 拉取到本地的CodeAnalysis开源仓库目录的绝对路径(例如:/data/CodeAnalysis)
88
88
` teamId ` :团队ID
89
89
` projectName ` : 项目名称
90
90
` token ` : 在 TCA 的【个人中心】->【个人令牌】中获取
@@ -133,7 +133,7 @@ pipeline{
133
133
stages{
134
134
stage('Build'){
135
135
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)
137
137
script{
138
138
def tca_status = readFile('tca_threshold.txt')
139
139
if (tca_status == "success") {
0 commit comments