Secrets are not exposed to pull requests by default for security reasons. To avoid storing sensitive configuration parameters in your yaml file we recommend using the secret store.Įxample command adds the webhook to the secret store: drone secret add \Įxample configuration requests access to the webhook from the secret store: pipeline: In the previous example we store the webhook directly in the yaml configuration file in plain text. You can override this default behavior with the below yaml configuration. This means your slack notification step is not executed if a previous step in the pipeline fails. Note that the pipeline exits immediately on failure. Please see the plugin registry for a list of all notification plugins and detailed documentation.Įxample configuration for sending Slack notification: pipeline: This guide provides instructions for integrating slack plugins into your build pipeline using the slack plugin.
0 Comments
Leave a Reply. |