From cb0234d1149990122ab748ee1f5e3490aa3e2d6f Mon Sep 17 00:00:00 2001 From: zhuay <120068512+zhuay-a@users.noreply.github.com> Date: Tue, 30 Jul 2024 14:57:21 +0800 Subject: [PATCH] Update Jenkins_Plugin.md --- "doc/en/guide/\346\217\222\344\273\266/Jenkins_Plugin.md" | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git "a/doc/en/guide/\346\217\222\344\273\266/Jenkins_Plugin.md" "b/doc/en/guide/\346\217\222\344\273\266/Jenkins_Plugin.md" index 822daf6f7..59daebb02 100644 --- "a/doc/en/guide/\346\217\222\344\273\266/Jenkins_Plugin.md" +++ "b/doc/en/guide/\346\217\222\344\273\266/Jenkins_Plugin.md" @@ -52,7 +52,7 @@ Value:`GITPATH` Value:xxxx(路径不包含git) 在构建任务的【Build】中选择【TCA】插件并配置以下参数: -`CodeAnalysis目录绝对路径`: 拉取到本地的CodeAnalysis开源仓库目录的绝对路径(例如:/User/CodeAnalysis) +`CodeAnalysis目录绝对路径`: 拉取到本地的CodeAnalysis开源仓库目录的绝对路径(例如:/Users/data/CodeAnalysis) `团队ID`: 在 TCA 中创建的团队的标识ID,可在TCA【团队概览】中获取“团队唯一标识” `项目名称`: 在 TCA 中创建的项目的标识ID,可在TCA【项目概览】中获取“项目唯一标识” `Token`: 在 TCA 的【个人中心】->【个人令牌】中获取 @@ -77,14 +77,14 @@ pipeline{ stages{ stage('Build'){ steps{ - TCA(codeAnalysisPath: '/zhuay/CodeAnalysis/', teamId: 'xxxx', projectName: 'demo', token: 'xxxxxxxxxxxx', branchName: 'master', languageType: 'Java', refSchemeID: '1', scanPlan: 'model', threshold: '90', total:true) + TCA(codeAnalysisPath: '/Users/data/CodeAnalysis/', teamId: 'xxxx', projectName: 'demo', token: 'xxxxxxxxxxxx', branchName: 'master', languageType: 'Java', refSchemeID: '1', scanPlan: 'model', threshold: '90', total:true) } } } } ``` -`codeAnalysisPath`: 拉取到本地的CodeAnalysis开源仓库目录的绝对路径(例如:/User/CodeAnalysis) +`codeAnalysisPath`: 拉取到本地的CodeAnalysis开源仓库目录的绝对路径(例如:/Users/data/CodeAnalysis) `teamId`:团队ID `projectName`: 项目名称 `token`: 在 TCA 的【个人中心】->【个人令牌】中获取 @@ -133,7 +133,7 @@ pipeline{ stages{ stage('Build'){ steps{ - TCA(codeAnalysisPath: '/zhuay/CodeAnalysis/', teamId: 'xxxx', projectName: 'demo', token: 'xxxxxxxxxxxx', branchName: 'master', languageType: 'Java', refSchemeID: '1', scanPlan: 'model', threshold: '90', total:true) + TCA(codeAnalysisPath: '/Users/data/CodeAnalysis/', teamId: 'xxxx', projectName: 'demo', token: 'xxxxxxxxxxxx', branchName: 'master', languageType: 'Java', refSchemeID: '1', scanPlan: 'model', threshold: '90', total:true) script{ def tca_status = readFile('tca_threshold.txt') if (tca_status == "success") {