Compare commits

..

4 Commits
master ... test

Author SHA1 Message Date
wangwei10061 9c16d146ad Update '.trustie-pipeline.yml'
continuous-integration/drone/push Build was killed Details
2022-08-11 10:14:32 +08:00
xxq250 4a2a0ae934 Update 2.txt
continuous-integration/drone/push Build is failing Details
2022-05-30 11:25:26 +08:00
xxq250 4693cc7a92 Update '.trustie-pipeline.yml'
continuous-integration/drone/push Build is failing Details
2022-05-30 10:48:43 +08:00
xxq250 b6bd0d9a00 Add 2.txt 2022-05-30 10:47:06 +08:00
6 changed files with 29 additions and 50 deletions

View File

@ -1,33 +0,0 @@
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

@ -1,17 +1,37 @@
kind: pipeline
type: docker
name: master
name: 123
platform:
os: linux
arch: amd64
arch: arm64
steps:
- name: 编译
image: gcc
commands:
- ./configure
- make
- name: maven
image: maven:3-jdk-10
commands:
- mvn install -DskipTests=true
# 需要将软件包与部署脚本提前上传到远程主机(见文件上传模板)
# 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
- test
event:
- push

9
1.txt
View File

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

3
2.txt
View File

@ -1 +1,2 @@
123123
add branch test
edit 2

View File

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

View File

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