Updated Slack Notify Plugin (markdown)
parent
c1cc54e712
commit
e5a9da3530
1 changed files with 16 additions and 3 deletions
|
|
@ -23,15 +23,28 @@ failure:
|
|||
show_status: false
|
||||
```
|
||||
|
||||
Send a message every time the build is run:
|
||||
|
||||
Send a message if the build is successful:
|
||||
```yaml
|
||||
completed:
|
||||
|
||||
success:
|
||||
slack_notify:
|
||||
webhook_url: "https://hooks.slack.com/services/R212T827A/G983UY31U/aIp0yuW9u0iTqwAMOEwTg"
|
||||
room: "#phpci"
|
||||
username: "PHPCI"
|
||||
icon: ":ghost:"
|
||||
message: "%PROJECT_TITLE% - build %BUILD% completed :smiley:"
|
||||
message: "%PROJECT_TITLE% - build %BUILD% succeeded! :smiley:"
|
||||
show_status: false
|
||||
```
|
||||
|
||||
Send a message every time the build runs:
|
||||
|
||||
```yaml
|
||||
success:
|
||||
slack_notify:
|
||||
webhook_url: "https://hooks.slack.com/services/R212T827A/G983UY31U/aIp0yuW9u0iTqwAMOEwTg"
|
||||
room: "#phpci"
|
||||
username: "PHPCI"
|
||||
icon: ":ghost:"
|
||||
message: "%PROJECT_TITLE% - build %BUILD% completed"
|
||||
show_status: true
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue