forked from xxq250/java_ci_example
Compare commits
13 Commits
dev_local_
...
master
| Author | SHA1 | Date |
|---|---|---|
|
|
dfdf99b155 | |
|
|
33d190af3e | |
|
|
caaeb6a271 | |
|
|
46377c831c | |
|
|
d7b1a4da56 | |
|
|
43b433d20a | |
|
|
d027b5f3e3 | |
|
|
fc4f1eb426 | |
|
|
879f322c01 | |
|
|
fbc2440297 | |
|
|
1518d159c9 | |
|
|
439e50804a | |
|
|
3d081d36ab |
|
|
@ -1,27 +0,0 @@
|
||||||
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
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,37 @@
|
||||||
|
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,7 +1,10 @@
|
||||||
ci test
|
111-222
|
||||||
java jar
|
asdfl
|
||||||
123123
|
cssdf
|
||||||
123
|
|
||||||
|
|
||||||
sdfasdf
|
|
||||||
sdf123123123123
|
asdf
|
||||||
|
sad
|
||||||
|
f
|
||||||
|
asd
|
||||||
|
f
|
||||||
Loading…
Reference in New Issue