update message format.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-05-30 08:27:35 +08:00
parent 09f6fba2e0
commit d85b0f05e4
No known key found for this signature in database
GPG Key ID: 0F84B2110C500B1F

View File

@ -155,10 +155,10 @@ pipeline:
to: telegram_user_id to: telegram_user_id
+ message: > + message: >
+ {{#success build.status}} + {{#success build.status}}
+ build {{build.number}} succeeded. Good job. + build {{build.number}} succeeded. Good job.
+ {{else}} + {{else}}
+ build {{build.number}} failed. Fix me please. + build {{build.number}} failed. Fix me please.
+ {{/success}} + {{/success}}
``` ```
# Parameter Reference # Parameter Reference