2020-01-04 12:52:23 +08:00
|
|
|
kind: pipeline
|
|
|
|
name: pipeline-example-maven
|
|
|
|
|
|
|
|
steps:
|
2020-01-04 13:21:39 +08:00
|
|
|
- name: Test Echo
|
|
|
|
image: alpine:latest
|
2020-01-04 12:52:23 +08:00
|
|
|
commands:
|
2020-01-04 13:21:39 +08:00
|
|
|
- echo 'Testing'
|
2020-01-04 12:52:23 +08:00
|
|
|
|
|
|
|
- name: Send To DingTalk
|
|
|
|
image: guoxudongdocker/drone-dingtalk
|
|
|
|
settings:
|
2020-01-04 12:58:19 +08:00
|
|
|
token: af1973914f3b2af28fe7fb96c424a557059d4d3af5cba33b31d6640e8538ba45
|
2020-01-04 12:52:23 +08:00
|
|
|
type: markdown
|
|
|
|
message_color: true
|
|
|
|
message_pic: true
|
|
|
|
sha_link: true
|
|
|
|
when:
|
|
|
|
status:
|
|
|
|
- failure
|
|
|
|
- success
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
2020-01-04 13:17:12 +08:00
|
|
|
- master
|