Skip to content

screwdriver-cd/notifications-base

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Notifications Base

Version Downloads Build Status Open Issues License

Base class for defining the behavior between screwdriver and notifications plugins

Usage

npm install screwdriver-notifications-base

Interface

This is an interface for receiving Screwdriver API events and sending notification to users based on their job settings.

notify

Expected Outcome

Notify the user based on their job settings, e.g. email, slack.

Extending

To extend the base class, the functions to override are:

  1. _notify
  2. events (optional)

Override events if you want to send notification based on other events.

Testing

npm test

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.

About

Base class for defining the behavior between screwdriver and notifications plugins

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published