Skip to content

buildkite-plugins/teams-notification-buildkite-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teams Notification Buildkite Plugin Build status

A Buildkite plugin for sending incoming webhook notifications setup on specific MS Teams channels.

Options

These are all the options available to configure this plugin's behaviour.

Required

webook_url (string)

The incoming webhook URL configured for a specific channel.

message (string)

The message to include in the payload sent to the Teams channel

Examples

Show how your plugin is to be used

steps:
  - label: "💭 Sending Teams Notification"
    plugins:
      - teams-notification#1.0.0:
          webhook_url: "<webhook_url>"
          message: "From Buildkite with Love"

And with other options as well

If you want to change the plugin behaviour:

steps:
  - label: "💭 Sending Teams Notification"
    plugins:
      - teams-notification#1.0.0:
          webhook_url: "<webhook_url>"
          message: "From Buildkite with Love" 

⚒ Developing

You can use the bk cli to run the pipeline locally:

bk local run

🧪 Testing

Unit tests

The unit tests are written using BATS. You can test locally with:

make test

Or using Docker Compose:

docker-compose -f docker-compose.yml run --rm tests

👩‍💻 Contributing

Your policy on how to contribute to the plugin!

📜 License

The package is available as open source under the terms of the MIT License.