Build reporter for Drone CI
  • Go 98.2%
  • Dockerfile 1.8%
Find a file
2026-03-12 21:00:49 +00:00
.github/workflows Add docker-image-ci workflow 2026-03-12 20:58:04 +00:00
.vscode Add vscode launch config 2023-11-25 12:15:02 +00:00
reporters Better error handling (#3) 2023-12-31 11:05:55 +00:00
templates Add messages for in progress (#7) 2025-04-24 22:01:18 +01:00
types Add messages for in progress (#7) 2025-04-24 22:01:18 +01:00
.gitignore Add basic GO program 2023-11-07 21:52:52 +08:00
Dockerfile Add ability to control template directory 2023-11-26 14:27:52 +00:00
go.mod Add reading of environment variables 2023-11-25 12:09:27 +00:00
go.sum Add reading of environment variables 2023-11-25 12:09:27 +00:00
go.work Add basic reporter structure 2023-11-07 22:26:50 +08:00
main.go Add messages for in progress (#7) 2025-04-24 22:01:18 +01:00
plugin.go Add discord reporter to used list 2023-12-20 08:35:01 +00:00
README.md Update README for ghcr 2026-03-12 21:00:49 +00:00

Drone-Build-Reporter

Plugin for Drone CI to send information about builds to multiple sources.

Usage

To use this plugin, add the following step to your pipline

# Report all builds
- name: build-reporter
  image: ghcr.io/randomman552/drone-build-reporter
  settings:
    # Your settings here
    variable:
      from_secret: variable
  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: ghcr.io/randomman552/drone-build-reporter
  settings:
    # Your settings here
    variable:
      from_secret: variable
  when:
    status:
      - failure

Available platforms

All configuration options should be passed through the step settings as shown for the example above.

Values can be passed from secrets, or directly as strings. Care should be taken to use secrets where appropriate (API tokens, etc)

Global settings:

  • notify_mode - Controls when in the process the CI this plugin runs
    • finished - Notify at the conclusion of the CI process (default)
    • started - Notify at the start of the CI process

Platform specific:

  • Gotify
    • gotify_token the token from the gotify instance
    • gotify_url Url of the gotify instance, including scheme (e.g. https://gotify.example.com)
  • Discord
    • discord_webhook The webhook to send the report to