Browse Source

Updating pipeline to post messages to matrix

develop
Drew Short 5 years ago
parent
commit
609d5746f4
  1. 27
      pipeline.yml

27
pipeline.yml

@ -7,7 +7,7 @@ resource_types:
- name: matrix-notification-resource
type: docker-image
source:
repository: freelock/matrix-notification-resource
repository: nexus.nulloctet.com:5000/sothr/matrix-notification-resource
resources:
- name: git-develop
@ -80,6 +80,16 @@ jobs:
cd git-develop
npm install
npm test
on_failure:
do:
- put: matrix-notification
params:
msgtype: m.notice
text: |
A test of baphomet-js-dev has failed. Check it out at:
https://concourse.nulloctet.com/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
or at:
https://concourse.nulloctet.com/builds/$BUILD_ID
- name: deploy-develop-image
plan:
- get: git-develop
@ -144,6 +154,11 @@ jobs:
build: package
tag_file: package/tag
tag_as_latest: false
- put: matrix-notification
params:
msgtype: m.notice
text: |
Successfully deployed baphomet-js-dev image to repository
- name: deploy-develop-helm
plan:
- get: git-develop
@ -187,6 +202,16 @@ jobs:
cd git-master
npm install
npm test
on_failure:
do:
- put: matrix-notification
params:
msgtype: m.notice
text: |
A test of baphomet-js has failed. Check it out at:
https://concourse.nulloctet.com/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
or at:
https://concourse.nulloctet.com/builds/$BUILD_ID
- name: deploy-release-image
plan:
- get: git-master

Loading…
Cancel
Save