-
Notifications
You must be signed in to change notification settings - Fork 286
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
完善Jenkins文档 #1153
Conversation
doc/en/guide/插件/Jenkins_Plugin.md
Outdated
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) |
There was a problem hiding this comment.
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/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
此处为脚本,已修改,将脚本、和参数解释中的路径例子统一修改为'/data/CodeAnalysis/'
doc/en/guide/插件/Jenkins_Plugin.md
Outdated
} | ||
|
||
``` | ||
`codeAnalysisPath`: 拉取到本地的CodeAnalysis开源仓库目录的绝对路径(例如:/User/CodeAnalysis) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上,例子可以都改一下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
此处为参数解释,已修改,将脚本、和参数解释中的路径例子统一修改为'/data/CodeAnalysis/',在后面加空格是为了让后面的参数换行
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
上一次提交中脚本示例中的TCA_Builder忘记修改为TCA,此次提交将TCA_Builder改为TCA,在pipeline部分增加release版本可能未修改的说明,并贴上了对应问题的链接。同时修改了英文版文档