Sign inSign up

slapers/hipchat-notification

By slapers

•Updated over 9 years ago

Build of https://github.com/slapers/hipchat-notification-resource

Image
0

5M+

slapers/hipchat-notification repository overview

⁠HipChat Notification Resource

Send notification messages to HipChat using a string message or templated message.

⁠Building

RUN:

$ ./src/ci/build.sh
$ docker build -t dockerhub-username/dockerhub-repository .
$ docker push dockerhub-username/dockerhub-repository

⁠Installing

resource_types:
- name: hipchat-notification-resource
  type: docker-image
  source:
    repository: dockerhub-username/dockerhub-repository

⁠Source Configuration

⁠out: Sends message to HipChat room

Send message to specified HipChat Room, with the configured parameters

⁠Parameters
  • from: Required. Name of the system sending the notification
  • message: Required. (string) Text to send to the HipChat room
  • message: Required. (object)
  • color: Optional. One of "yellow", "red", "green", "purple", "gray", or "random". (default: yellow)
  • message_format: Optional. Message format, either html or text (default: html)
  • notify: Optional. If the message should trigger a notification to people in the room. 0 = false, 1 = true (default: 0)

⁠Example

⁠Check
---
resources:
- name: hipchat-notification
  type: hipchat-notification-resource
  source:
    hipchat_server_url: https://api.hipchat.com
    token: 14376e01-3152-4710-a830-aaf77e48c047
    room_id: 1
⁠In

Not supported

⁠Out
---
- put: hipchat-notification
  params:
    color: green
    from: "Concourse CI"
    message:
      template: "${PR-TITLE} Build Successful - <a href='${ATC_EXTERNAL_URL}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}'>Build Logs</a>"
      params:
        PR-TITLE: file://output-directory/pr-title

Tag summary

Content type

Image

Digest

Size

19.4 MB

Last updated

over 9 years ago

docker pull slapers/hipchat-notification