forked from xxq250/java_ci_example
Compare commits
1 Commits
master
...
dev_local_
| Author | SHA1 | Date |
|---|---|---|
|
|
45583cfd74 |
|
|
@ -0,0 +1,27 @@
|
||||||
|
version: 2
|
||||||
|
name: Hello Word
|
||||||
|
description: hello jianmu
|
||||||
|
global:
|
||||||
|
concurrent: false
|
||||||
|
trigger:
|
||||||
|
webhook: gitlink@1.0.0
|
||||||
|
event:
|
||||||
|
- ref: push
|
||||||
|
ruleset-operator: AND
|
||||||
|
workflow:
|
||||||
|
- ref: start
|
||||||
|
name: 开始
|
||||||
|
task: start
|
||||||
|
- ref: shell_0
|
||||||
|
name: shell
|
||||||
|
image: ubuntu:22.10
|
||||||
|
script:
|
||||||
|
- echo "hello word"
|
||||||
|
needs:
|
||||||
|
- start
|
||||||
|
- ref: end
|
||||||
|
name: 结束
|
||||||
|
task: end
|
||||||
|
needs:
|
||||||
|
- shell_0
|
||||||
|
|
||||||
|
|
@ -1,37 +0,0 @@
|
||||||
version: 2
|
|
||||||
name: PR通知
|
|
||||||
description: 新的PR提交会有钉钉通知
|
|
||||||
global:
|
|
||||||
concurrent: false
|
|
||||||
trigger:
|
|
||||||
webhook: gitlink@1.0.0
|
|
||||||
event:
|
|
||||||
- ref: pr
|
|
||||||
ruleset:
|
|
||||||
- param-ref: action
|
|
||||||
operator: EQ
|
|
||||||
value: "'opened'"
|
|
||||||
ruleset-operator: AND
|
|
||||||
workflow:
|
|
||||||
- ref: start
|
|
||||||
name: 开始
|
|
||||||
task: start
|
|
||||||
- ref: end
|
|
||||||
name: 结束
|
|
||||||
task: end
|
|
||||||
needs:
|
|
||||||
- dingtalk_notice_text_0
|
|
||||||
- ref: dingtalk_notice_text_0
|
|
||||||
name: 钉钉通知-文本
|
|
||||||
task: dingtalk_notice_text@1.0.2
|
|
||||||
input:
|
|
||||||
boot_webhook_url: ((dingdingtalk.token_url))
|
|
||||||
secret: ((dingdingtalk.token_sercet))
|
|
||||||
msg_text: '"【"+((trigger.user)) +
|
|
||||||
"】从"+((trigger.source_branch))+"提交PR到"+((trigger.target_branch)) +
|
|
||||||
",请您立即确认是否合并。"'
|
|
||||||
at_user_ids: '"[]"'
|
|
||||||
at_mobiles: '"[]"'
|
|
||||||
needs:
|
|
||||||
- start
|
|
||||||
|
|
||||||
15
1.txt
15
1.txt
|
|
@ -1,10 +1,7 @@
|
||||||
111-222
|
ci test
|
||||||
asdfl
|
java jar
|
||||||
cssdf
|
123123
|
||||||
|
123
|
||||||
|
|
||||||
|
sdfasdf
|
||||||
asdf
|
sdf123123123123
|
||||||
sad
|
|
||||||
f
|
|
||||||
asd
|
|
||||||
f
|
|
||||||
Loading…
Reference in New Issue