Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

完善Jenkins文档 #1153

Merged
merged 16 commits into from
Jul 30, 2024
Merged

完善Jenkins文档 #1153

merged 16 commits into from
Jul 30, 2024

Conversation

zhuay-a
Copy link
Contributor

@zhuay-a zhuay-a commented Jul 30, 2024

上一次提交中脚本示例中的TCA_Builder忘记修改为TCA,此次提交将TCA_Builder改为TCA,在pipeline部分增加release版本可能未修改的说明,并贴上了对应问题的链接。同时修改了英文版文档

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)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里路径例子不是太好:/zhuay/CodeAnalysis/,不符合mac/linux/windows的惯例。可以举个linux的路径例子,比如:/data/CodeAnalysis/

Copy link
Contributor Author

@zhuay-a zhuay-a Jul 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此处为脚本,已修改,将脚本、和参数解释中的路径例子统一修改为'/data/CodeAnalysis/'

}

```
`codeAnalysisPath`: 拉取到本地的CodeAnalysis开源仓库目录的绝对路径(例如:/User/CodeAnalysis)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上,例子可以都改一下

Copy link
Contributor Author

@zhuay-a zhuay-a Jul 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此处为参数解释,已修改,将脚本、和参数解释中的路径例子统一修改为'/data/CodeAnalysis/',在后面加空格是为了让后面的参数换行

@zhuay-a zhuay-a requested a review from bensonhome July 30, 2024 07:04
Copy link
Collaborator

@bensonhome bensonhome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

doc/zh/guide/插件/Jenkins_Plugin.md Outdated Show resolved Hide resolved
@bensonhome bensonhome merged commit 5a60e33 into Tencent:main Jul 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants