From 273aedf972249bf0ad8a63b673a2ade984bcefd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AF=BB=E6=AC=A2?= Date: Sat, 4 Jan 2020 12:52:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0DroneCI=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..ffe6eb4 --- /dev/null +++ b/.drone.yml @@ -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 \ No newline at end of file