Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

nabetama/wercker-step-hipchat-notify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hipchat-notify

The original version of this application is wercker-step-hipchat-notify. In this fork, there is an simple option which specifies the branch which is the target of notify.

Send a message to a HipChat room... with color!

What's new

  • Fix bug if from-name contains a space (thanks @anfedorov)

Options

  • token (required) Your HipChat token.
  • room-id (required) The id of the HipChat room. (retrieve yours from https://www.hipchat.com/rooms/ids)
  • passed-message (optional) The message which will be shown on a passed build or deploy.
  • failed-message (optional) The message which will be shown on a failed build or deploy.
  • passed-color (optional, default: green) The color of a passed build/deploy message in HipChat.
  • failed-color (optional, default: red) The color of a failed build/deploy message in HipChat.
  • passed-notify (optional, default: false) If this is true the passed build/deploy message will make HipChat notify the user.
  • failed-notify (optional, default: true) If this is true the passed build/deploy message will make HipChat notify the user.
  • from-name (optional, default: wercker) Use this option to override the name that will appear in the room as sender.
  • on (optional, default: always) When should this step send a message. Possible values: always and failed.
  • target-branch (optional, default: all) The branch of a notify target.

Example

Add HIPCHAT_TOKEN as deploy target or application environment variable.

build:
  after-steps:
    - hipchat-notify:
        token: $HIPCHAT_TOKEN
        room-id: id
        from-name: name
        target-branch: master

License

The MIT License (MIT)

Changelog

1.0.91

  • Update README and description.

1.0.9

  • Update README.

1.0.6

  • Add option target-branch

1.0.3

  • Fix bug if from-name contains a space (thanks @anfedorov)

1.0.2

  • Remove emoticons introduced by version 1.0.1.

1.0.1

  • Add more icons to the default messages

1.0.0

  • Add links to application and build/deploy

0.1.6

  • Add support for color for passed and failed messages (thanks adams-sarah)
  • Add support for 'notify' for passed and failed messages

0.1.5

Broken

0.1.4

  • Fix example in readme
  • Update readme

wercker status

About

add notify option

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 57.3%
  • Shell 42.7%