add message

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2018-03-28 10:17:42 +08:00
parent 0ccfb2ea73
commit 976c057e5d
+6
View File
@@ -79,5 +79,11 @@ pipeline:
target: webhook_id
- source: webhook_prod_token
target: webhook_token
message: |
{{ #success build.status }}
build {{ build.number }} succeeded. Good job.
{{ else }}
build {{ build.number }} failed. Fix me please.
{{ /success }}
when:
status: [ success, failure ]