Compare commits

...

39 Commits
test ... master

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
xxq250 45583cfd74 Add 2.txt 2023-02-08 09:24:37 +08:00
xxq250 1dfd66e6e2 feat: .devops/Hello Word.yml
continuous-integration/drone/push Build is passing Details
2022-08-16 16:55:11 +08:00
xxq250 18f37c1874 refactor: delete .devops/未命名项目.yml
continuous-integration/drone/push Build is passing Details
2022-08-16 16:55:10 +08:00
xxq250 5cd9db33f5 feat: .devops/未命名项目.yml
continuous-integration/drone/push Build is passing Details
2022-08-16 16:54:15 +08:00
xxq250 6630e6454f Update '.trustie-pipeline.yml'
continuous-integration/drone/push Build is passing Details
2022-08-03 15:55:35 +08:00
xxq250 da1776429f Update '.trustie-pipeline.yml' 2022-08-03 15:40:22 +08:00
xxq250 e8a4c095f9 Update '.trustie-pipeline.yml'
continuous-integration/drone/push Build was killed Details
2022-08-02 18:26:17 +08:00
xxq250 f8fc4ef949 Update 1.txt
continuous-integration/drone/push Build is passing Details
2022-08-02 18:15:02 +08:00
xxq250 4de0d0ce21 Update '.trustie-pipeline.yml' 2022-08-02 17:31:55 +08:00
xxq250 039a3428f3 Update 1.txt 2022-08-02 17:30:46 +08:00
xxq250 b9b5dfe59a Update '.trustie-pipeline.yml' 2022-08-02 17:30:30 +08:00
xxq250 68e0dbf2be Update 1.txt 2022-08-02 14:26:48 +08:00
xxq250 58f45a1673 Update '.trustie-pipeline.yml' 2022-08-02 14:05:32 +08:00
wangwei10061 71eca307e6 Update '.trustie-pipeline.yml' 2022-07-27 18:25:22 +08:00
xxq250 81c8c260ee Update pom.xml
continuous-integration/drone/push Build is passing Details
2022-05-31 18:22:16 +08:00
xxq250 1bc0eab955 Update .trustie-pipeline.yml
continuous-integration/drone/push Build is failing Details
2022-05-31 17:59:31 +08:00
xxq250 e40ad7bdf4 Update mvn jdk
continuous-integration/drone/push Build is failing Details
2022-05-31 10:10:42 +08:00
xxq250 c511b6a32c Update 1.txt
continuous-integration/drone/push Build is failing Details
2022-05-30 14:54:17 +08:00
xxq250 181cb12915 Update '.trustie-pipeline.yml'
continuous-integration/drone/push Build is failing Details
2022-05-30 14:54:00 +08:00
6 changed files with 47 additions and 23 deletions

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

View File

@ -10,25 +10,6 @@ steps:
image: maven:3-jdk-10
commands:
- mvn install -DskipTests=true
- name: gradle
image: gradle:jdk10
commands:
- gradle build -x test
# 需要将软件包与部署脚本提前上传到远程主机(见文件上传模板)
# host、username、password可在参数管理中配置
- name: 远程主机部署
image: appleboy/drone-ssh
settings:
host:
from_secret: ip
username:
from_secret: name
password:
from_secret: pwd
port: 22
script:
- chmod +x /home/deploy.sh
- ./home/deploy.sh
trigger:
branch:
- master

9
1.txt
View File

@ -1,3 +1,6 @@
ci test
java jar
123123
111-222
asdfl
cssdf
sdlsls
s123

1
2.txt Normal file
View File

@ -0,0 +1 @@
123123

View File

@ -9,7 +9,6 @@
<version>1</version>
<name>demo</name>
<packaging>war</packaging>
<packaging>war</packaging>
<properties>
<maven.compiler.target>1.8</maven.compiler.target>

7
test.txt Normal file
View File

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