jenkins-notifier

0.1.5 • Public • Published

jenkins-notifier

jenkins-notifier is a Node CLI utility that displays a system notification and console message if the count of unstable jobs in Jenkins changes.

Unstable jobs are jobs with the BallColor enum of RED, RED_ANIME, YELLOW and YELLOW_ANIME.

Clicking on the notification will take you directly to Jenkins.

Install

$ npm install -g jenkins-notifier

Usage

Basic usage

jenkins-notifier

After starting, you'll be prompted for your username, password and Jenkins URL. The default interval of 5 seconds will be used.

Usage with parameters

jenkins-notifier {url} {username} [{interval}]

After starting, you'll be prompted for your Jenkins password. The password is not visible while being typed in.

  • url complete URL to Jenkins
  • username your Jenkins username
  • interval (optional) how often (in seconds) to check Jenkins

Examples

jenkins-notifier http://jenkins.loc bruce 10
Enter Jenkins password:

jenkins-notifier is running and checking every 10s.

Checks Jenkins at http://jenkins.loc with the username bruce every 10 seconds.

Package Sidebar

Install

npm i jenkins-notifier

Weekly Downloads

2

Version

0.1.5

License

MIT

Last publish

Collaborators

  • bojzi