Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only send notifications on if one of a set of specific steps fails #147

Open
foosinn opened this issue Mar 2, 2023 · 0 comments
Open

Only send notifications on if one of a set of specific steps fails #147

foosinn opened this issue Mar 2, 2023 · 0 comments

Comments

@foosinn
Copy link

foosinn commented Mar 2, 2023

Drone exposes the failed steps in DRONE_FAILED_STEPS.

Using this the extension could provide a very simply way to only alert if certain steps fail.

  image: plugins/slack
  name: notify
  settings:
    webhook:
      from_secret: slack_webhook_url
    build_steps:
      - test
      - e2e-test
      - integration-test
  when:
    status:
    - failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant