-
Notifications
You must be signed in to change notification settings - Fork 500
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
feat: json文件生成的流水线自动下载范围可见插件 #5939 #6410
Conversation
.../biz-process/src/main/kotlin/com/tencent/devops/process/service/PipelineInfoFacadeService.kt
Show resolved
Hide resolved
) | ||
if (validateRet.isNotOk()) { | ||
throw OperationException(validateRet.message ?: "模版下存在无权限的组件") | ||
} |
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.
用ErrorCodeException封装异常,需要有明确的错误码
userId: String, | ||
model: Model, | ||
projectCodeList: ArrayList<String>, | ||
templateCode: String? |
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.
templateCode定义成为默认可为空吧,这样调这个方法的时候就可以不传参了
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.
ok
feat: json文件生成的流水线自动下载范围可见插件 #5939