ci-demo/.drone.yml
李寻欢 fb94bb2163
Some checks reported errors
continuous-integration/drone/push Build was killed
🔧 修改自动打包为Master分支打Tag才触发
2020-01-04 16:50:02 +08:00

25 lines
513 B
YAML

kind: pipeline
name: maven-build-pipeline
steps:
- name: BuildProject
image: maven:3-jdk-11
volumes:
- name: cache
path: /root/.m2
commands:
- mvn clean install -Dskip.test=true
- ls target
- name: SendToDingTalk
image: lddsb/drone-dingtalk-message
settings:
token: af1973914f3b2af28fe7fb96c424a557059d4d3af5cba33b31d6640e8538ba45
type: markdown
message_color: true
message_pic: true
sha_link: true
trigger:
branch:
- master