Plugin for Drone CI to send information about builds to multiple sources.
To use this plugin, add the following step to your pipline
# Report all builds
- name: build-reporter
image: randomman552/drone-build-reporter
settings:
discord_webhook:
from_secret: discord-webhook
when:
status:
- failure
- success
The above will trigger regardless of a build success or failure
To only trigger the pipeline on a failure, you can remove the success case from the condition as shown below
# Report failures only
- name: build-reporter
image: randomman552/drone-build-reporter:${DRONE_COMMIT_BRANCH}
settings:
discord_webhook:
from_secret: discord-webhook
when:
status:
- failure
All configuration options should be passed through the step settings as shown for the example above.
This plugin currently supports the following platforms:
- Gotify
gotify_token
the token from the gotify instancegotify_url
Url of the gotify instance, including scheme (e.g.https://gotify.example.com
)
- Discord
discord_webhook
The webhook to send the report tos