From 9acdc42dc3b354489a7630e1f43b5cf44ec92186 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Tue, 11 Jun 2019 19:44:53 +0200 Subject: [PATCH] drone.yml: Nicer notifications. --- .drone.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index c36a27f..1437e6e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,15 +21,13 @@ steps: password: from_secret: matrix_password template: > - Built {{commit.branch}} @{{truncate build.commit 7}}: {{commit.message}} - + Built {{truncate build.commit 7}}: {{build.message}}
+
{{#success build.status}} Build {{build.number}} succeeded. Good job! {{else}} - Build {{build.number}} failed. See {{build.link}} for more information. + Build {{build.number}} failed. See {{build.link}} for more information. {{/success}} - {{build.message}} - when: status: [success, failure]