fix notification

This commit is contained in:
Robert Kaussow 2020-09-24 20:33:35 +02:00
parent 74cf7e7c7a
commit 744e65ec1f
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 12 additions and 1 deletions

View File

@ -166,6 +166,7 @@ local PipelineBuildContainer(arch='amd64') = {
pull: 'always', pull: 'always',
commands: [ commands: [
'python setup.py bdist_wheel', 'python setup.py bdist_wheel',
'ls -l dist/git_batch-*.whl',
], ],
}, },
{ {
@ -303,6 +304,9 @@ local PipelineNotifications = {
username: { from_secret: 'matrix_username' }, username: { from_secret: 'matrix_username' },
password: { from_secret: 'matrix_password' }, password: { from_secret: 'matrix_password' },
}, },
when: {
status: ['success', 'failure'],
},
}, },
], ],
depends_on: [ depends_on: [

View File

@ -191,6 +191,7 @@ steps:
image: python:3.8 image: python:3.8
commands: commands:
- python setup.py bdist_wheel - python setup.py bdist_wheel
- ls -l dist/git_batch-*.whl
- name: dryrun - name: dryrun
pull: always pull: always
@ -267,6 +268,7 @@ steps:
image: python:3.8 image: python:3.8
commands: commands:
- python setup.py bdist_wheel - python setup.py bdist_wheel
- ls -l dist/git_batch-*.whl
- name: dryrun - name: dryrun
pull: always pull: always
@ -343,6 +345,7 @@ steps:
image: python:3.8 image: python:3.8
commands: commands:
- python setup.py bdist_wheel - python setup.py bdist_wheel
- ls -l dist/git_batch-*.whl
- name: dryrun - name: dryrun
pull: always pull: always
@ -479,6 +482,10 @@ steps:
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}" template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
username: username:
from_secret: matrix_username from_secret: matrix_username
when:
status:
- success
- failure
trigger: trigger:
ref: ref:
@ -496,6 +503,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: b460d6f3e540ccfe73ddca52125517a858429b3de7e7354065cb4130b4238358 hmac: 6499b23b50c851323da8a438c6a9ea83d30b499c6b0c4eef62fea5150ecad7cb
... ...