|
|
|
@ -37,17 +37,17 @@ steps:
|
|
|
|
|
when:
|
|
|
|
|
status: success
|
|
|
|
|
|
|
|
|
|
- name: send build error notifications
|
|
|
|
|
image: plugins/webhook
|
|
|
|
|
settings:
|
|
|
|
|
urls:
|
|
|
|
|
from_secret: notify_webhook_url
|
|
|
|
|
content_type: application/json
|
|
|
|
|
template: |
|
|
|
|
|
{
|
|
|
|
|
"title": "Drone-CI [matterlink-reboot @ ${DRONE_BUILD_NUMBER}]",
|
|
|
|
|
"message": "Build failed! (Changes by ${DRONE_COMMIT_AUTHOR})",
|
|
|
|
|
"priority": 6
|
|
|
|
|
}
|
|
|
|
|
when:
|
|
|
|
|
status: failure
|
|
|
|
|
- name: send build error notifications
|
|
|
|
|
image: plugins/webhook
|
|
|
|
|
settings:
|
|
|
|
|
urls:
|
|
|
|
|
from_secret: notify_webhook_url
|
|
|
|
|
content_type: application/json
|
|
|
|
|
template: |
|
|
|
|
|
{
|
|
|
|
|
"title": "Drone-CI [matterlink-reboot @ ${DRONE_BUILD_NUMBER}]",
|
|
|
|
|
"message": "Build failed! (Changes by ${DRONE_COMMIT_AUTHOR})",
|
|
|
|
|
"priority": 6
|
|
|
|
|
}
|
|
|
|
|
when:
|
|
|
|
|
status: failure
|