Compare commits

..

20 Commits

Author SHA1 Message Date
xxq250 45521bbdcd Merge pull request '111' (#14) from dev_local_v1 into master 2023-09-04 16:06:49 +08:00
xxq250 9a5d8d9659 Update 1.txt 2023-09-04 16:06:32 +08:00
xxq250 46a42edbc4 refactor: .devops/PR通知.yml 2023-09-04 16:03:37 +08:00
xxq250 9878f377a6 Merge pull request '234' (#10) from dev_local_v7 into master 2023-09-04 16:00:34 +08:00
xxq250 a38dd73548 Update test.txt 2023-09-01 12:22:54 +08:00
xxq250 6d9af13c02 refactor: .devops/PR通知.yml 2023-09-01 12:21:42 +08:00
xxq250 dee1ad44f9 Update test.txt 2023-09-01 12:21:33 +08:00
xxq250 65d1c1b2f5 Update test.txt 2023-09-01 09:29:25 +08:00
xxq250 33d190af3e Update 1.txt 2023-06-29 16:27:26 +08:00
xxq250 caaeb6a271 Merge pull request '测试devops提交pr' (#4) from xxq2504/java_ci_example:master into master 2023-06-27 17:29:27 +08:00
xxq250 46377c831c Update 1.txt 2023-03-28 09:33:35 +08:00
xxq2504 d7b1a4da56 Add test.txt 2023-03-16 14:46:10 +08:00
xxq250 43b433d20a refactor: .devops/PR通知.yml 2023-03-16 14:41:08 +08:00
xxq250 d027b5f3e3 refactor: .devops/PR通知.yml 2023-03-16 14:40:24 +08:00
xxq250 fc4f1eb426 refactor: .devops/PR通知.yml 2023-03-16 14:38:51 +08:00
xxq250 879f322c01 refactor: .devops/PR通知.yml 2023-03-16 14:33:28 +08:00
xxq250 fbc2440297 refactor: .devops/PR通知.yml 2023-03-16 14:30:53 +08:00
xxq250 1518d159c9 refactor: .devops/PR通知.yml 2023-03-16 10:26:39 +08:00
xxq250 439e50804a feat: .devops/PR通知.yml 2023-03-16 10:15:39 +08:00
xxq250 3d081d36ab refactor: delete .devops/Hello Word.yml 2023-03-16 10:15:38 +08:00
4 changed files with 45 additions and 37 deletions

View File

@ -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

33
.devops/PR通知.yml Normal file
View File

@ -0,0 +1,33 @@
version: 2
name: PR通知
description: 新的PR提交会有钉钉通知
global:
concurrent: 1
trigger:
webhook: gitlink@1.0.0
event:
- ref: pr
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
View File

@ -1,11 +1,6 @@
ci test
java jar
123123
123
111-222
asdfl
cssdf
sdfasdf
sdf123123123123
asdfasdf
a
sdf
sdlsls
s123

7
test.txt Normal file
View File

@ -0,0 +1,7 @@
测试devops提交pr
啦111
123123
12314