forked from RongEr/test_workflow
refactor: .devops/未命名项目.yml
This commit is contained in:
parent
daf8469827
commit
f9c794f0bf
|
@ -27,14 +27,6 @@ workflow:
|
|||
task: end
|
||||
needs:
|
||||
- dingtalk_notice_text_0
|
||||
- ref: string_0
|
||||
name: 字符串工具
|
||||
on-failure: ignore
|
||||
task: string@1.0.1-python3.8
|
||||
input:
|
||||
expression: 'shell_0.inner.execution_status === "EXECUTION_SUCCEEDED" ? "成功" : "失败"'
|
||||
needs:
|
||||
- shell_0
|
||||
- ref: dingtalk_notice_text_0
|
||||
name: 钉钉通知-文本
|
||||
on-failure: ignore
|
||||
|
@ -42,9 +34,10 @@ workflow:
|
|||
input:
|
||||
boot_webhook_url: ((zxh_dingding.webhook))
|
||||
secret: ((zxh_dingding.secret))
|
||||
msg_text: 'string_0.result === "成功" ? "CI测试成功" : "CI测试失败"'
|
||||
msg_text: 'shell_0.inner.execution_status === "EXECUTION_SUCCEEDED" ? "CI测试成功" :
|
||||
"CI测试失败"'
|
||||
at_user_ids: '"[13b-idng5ckp9a]"'
|
||||
at_mobiles: '"[13272099438]"'
|
||||
needs:
|
||||
- string_0
|
||||
- shell_0
|
||||
|
||||
|
|
Loading…
Reference in New Issue