always run notification steps in ci pipeline

This commit is contained in:
Robert Kaussow 2019-10-10 23:13:14 +02:00
parent 8f588f648d
commit 4f10820c1c
2 changed files with 10 additions and 3 deletions

View File

@ -268,7 +268,7 @@ local PipelineNotifications = {
DOCKERHUB_REPO_PREFIX: "xoxys",
DOCKERHUB_REPO_NAME: "ansible-later",
README_PATH: "README.md",
SHORT_DESCRIPTION: "ansible-later - Simple annotation based documentation for your roles"
SHORT_DESCRIPTION: "ansible-later - lovely automation testing framework"
},
when: {
ref: [
@ -295,6 +295,9 @@ local PipelineNotifications = {
username: { "from_secret": "matrix_username" },
password: { "from_secret": "matrix_password" },
},
when: {
status: [ "success", "failure" ],
},
},
],
depends_on: [

View File

@ -406,7 +406,7 @@ steps:
DOCKERHUB_USERNAME:
from_secret: docker_username
README_PATH: README.md
SHORT_DESCRIPTION: ansible-later - Simple annotation based documentation for your roles
SHORT_DESCRIPTION: ansible-later - lovely automation testing framework
when:
ref:
- refs/heads/master
@ -431,6 +431,10 @@ steps:
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
username:
from_secret: matrix_username
when:
status:
- success
- failure
trigger:
ref:
@ -448,6 +452,6 @@ depends_on:
---
kind: signature
hmac: 04876d1de8c58e1e070643c6218cb343fd1e100cb5956ce0af99cc4fec762fcc
hmac: 825a77f8fb6f029b87bf463a2f2d670a8d0297f3cf17684787188362eba6a336
...