ci-demo/.drone.yml

28 lines
499 B
YAML
Raw Normal View History

2020-01-04 12:52:23 +08:00
kind: pipeline
name: maven-build-pipeline
2020-01-04 12:52:23 +08:00
steps:
- name: BuildProject
image: maven:3-jdk-11
volumes:
- name: cache
path: /root/.m2
commands:
- mvn clean install
- ls target
2020-01-04 12:52:23 +08:00
- name: SendToDingTalk
2020-01-04 18:24:28 +08:00
image: lddsb/drone-dingtalk-message
2020-01-04 12:52:23 +08:00
settings:
token: af1973914f3b2af28fe7fb96c424a557059d4d3af5cba33b31d6640e8538ba45
2020-01-04 12:52:23 +08:00
type: markdown
message_color: true
message_pic: true
sha_link: true
trigger:
branch:
2020-01-09 11:39:59 +08:00
- master