refactor: .devops/未命名项目.yml

This commit is contained in:
RongEr 2023-03-25 20:34:26 +08:00 committed by jianmu
parent d2e1965dc5
commit 9bd3d93e43
1 changed files with 11 additions and 8 deletions

View File

@ -26,7 +26,7 @@ workflow:
name: 结束 name: 结束
task: end task: end
needs: needs:
- string_0 - dingtalk_notice_text_0
- ref: string_0 - ref: string_0
name: 字符串工具 name: 字符串工具
task: string@1.0.1-python3.8 task: string@1.0.1-python3.8
@ -34,13 +34,16 @@ workflow:
expression: 'shell_0.inner.execution_status === "EXECUTION_SUCCEEDED" ? "成功" : "失败"' expression: 'shell_0.inner.execution_status === "EXECUTION_SUCCEEDED" ? "成功" : "失败"'
needs: needs:
- shell_0 - shell_0
- opencla_0 - ref: dingtalk_notice_text_0
- ref: opencla_0 name: 钉钉通知-文本
name: opencla on-failure: ignore
task: fill/opencla@1.0.0-check task: dingtalk_notice_text@1.0.2
input: input:
cla_url: '""' boot_webhook_url: ((zxh_dingding.webhook))
email: '""' secret: ((zxh_dingding.secret))
msg_text: 'string_0.result === "成功" ? "CI测试成功" : "CI测试失败"'
at_user_ids: '"[13b-idng5ckp9a]"'
at_mobiles: '"[13272099438]"'
needs: needs:
- start - string_0