/simple-flowdock-notification-resource

Simple Flowdock notification resource about the build status

Primary LanguageShell

concourse

Simple Flowdock notification resource about the build status. Based on the official cloudfoundry one.

Resource Type Configuration

resource_types:
- name: flowdock-notification-image
  type: docker-image
  source:
    repository: kinduff/better-flowdock-notification-resource
    tag: latest

Resource Configuration

resources:
- name: flowdock-notify
  type: flowdock-notification-image

Behavior

out: Sends notification to Flowdock.

Send notification to Flowdock, with the configured parameters.

Parameters

Required:

  • flow_token: Flow token where you want to post. Refer to this documentation.
  • status_value: Custom message. Usually Success or Failure.
  • status_color: Custom Flowdock color. Usually green or red.

Examples

example

---
jobs:
- name: flowdock-hello-world-test
  plan:
  - get: resource-tutorial
  - task: hello-world
    file: resource-tutorial/tutorials/basic/task-hello-world/task_hello_world.yml
    on_failure:
      put: flowdock-notify
      params:
        status_value: failure
        status_color: red
        flow_token: ((meta.flowdock.token))
    on_success:
      put: flowdock-notify
      params:
        status_value: success
        status_color: green
        flow_token: ((meta.flowdock.token))
resource_types:
- name: flowdock-notification-image
  type: docker-image
  source:
    repository: kinduff/better-flowdock-notification-resource
    tag: latest
resources:
- name: flowdock-notify
  type: flowdock-notification-image
- name: resource-tutorial
  type: git
  source:
    uri: https://github.com/starkandwayne/concourse-tutorial.git

teams-main-pipelines-test-pipe