This commit is contained in:
parent
0c81f6be2f
commit
273aedf972
29
.drone.yml
Normal file
29
.drone.yml
Normal file
@ -0,0 +1,29 @@
|
||||
kind: pipeline
|
||||
name: pipeline-example-maven
|
||||
|
||||
steps:
|
||||
- name: Build Project
|
||||
image: maven:3-jdk-11
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /root/.m2
|
||||
commands:
|
||||
- mvn clean package
|
||||
|
||||
- name: Send To DingTalk
|
||||
image: guoxudongdocker/drone-dingtalk
|
||||
settings:
|
||||
token:
|
||||
from_secret: 123
|
||||
type: markdown
|
||||
message_color: true
|
||||
message_pic: true
|
||||
sha_link: true
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
- success
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
Loading…
Reference in New Issue
Block a user