https://github.com/kinduff/simple-flowdock-notification-resource
Simple Flowdock notification resource about the build status
https://github.com/kinduff/simple-flowdock-notification-resource
ci concourse-ci concourse-resource devops flowdock
Last synced: over 1 year ago
JSON representation
Simple Flowdock notification resource about the build status
- Host: GitHub
- URL: https://github.com/kinduff/simple-flowdock-notification-resource
- Owner: kinduff
- Created: 2019-01-10T00:47:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-10T01:20:55.000Z (over 7 years ago)
- Last Synced: 2025-01-03T20:12:51.625Z (over 1 year ago)
- Topics: ci, concourse-ci, concourse-resource, devops, flowdock
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

Simple Flowdock notification resource about the build status. Based on the official cloudfoundry one.
## Resource Type Configuration
```yml
resource_types:
- name: flowdock-notification-image
type: docker-image
source:
repository: kinduff/better-flowdock-notification-resource
tag: latest
```
## Resource Configuration
```yml
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](https://www.flowdock.com/api/how-to-integrate).
- `status_value`: Custom message. Usually `Success` or `Failure`.
- `status_color`: Custom Flowdock color. Usually `green` or `red`.
## Examples

```yml
---
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
```
