From 4b2c994125f69aeefccdf81c3fbea02e43ee54a1 Mon Sep 17 00:00:00 2001 From: Ruan Bekker Date: Thu, 18 Apr 2019 14:33:01 +0200 Subject: [PATCH] Update README.md --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/README.md b/README.md index 3e8e5b0..a7e5b85 100644 --- a/README.md +++ b/README.md @@ -230,3 +230,35 @@ Verifyin the output: build {{build.number}} failed. Fix me please. {{/success}} ``` + +More verbose info: + +``` +kind: pipeline +name: default + +steps: +.. + + - name: slack + image: plugins/slack + settings: + webhook: + from_secret: slack_webhook + channel: system_events + icon_url: https://www.pngkit.com/png/full/92-920674_drone-logo-png-transparent-drone-ci-logo.png + template: > + {{#success build.status}} + build {{build.number}} status: *{{build.status}}* + build link: {{build.link}} + build author: {{build.author}} + build ref: {{build.ref}} + build event: {{build.event}} + build commit: {{build.commit}} + build branch: {{build.branch}} + build deploy: {{build.deployTo}} + {{else}} + build {{build.number}} failed. Fix me please. + {{/success}} + +```