feat: .devops/20230518钉钉.yml

This commit is contained in:
wangbinghao123 2023-05-18 19:46:40 +08:00 committed by jianmu
parent 8c6769733b
commit 651a5c104d
1 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,35 @@
version: 2
name: 20230518钉钉
description: ""
global:
concurrent: 1
trigger:
webhook: gitlink@1.0.0
event:
- ref: push
ruleset:
- param-ref: commit_number
operator: EQ
value: "1"
ruleset-operator: AND
workflow:
- ref: start
name: 开始
task: start
- ref: dingtalk_notice_markdown_0
name: 钉钉通知-markdown
task: dingtalk_notice_markdown@1.0.2
input:
boot_webhook_url: ((maxjhandsome.dingding))
msg_title: '"您有一条推送"'
msg_text: '"请尽快查看"'
at_user_ids: '"[]"'
at_mobiles: '"[]"'
needs:
- start
- ref: end
name: 结束
task: end
needs:
- dingtalk_notice_markdown_0