fix chat conditions

This commit is contained in:
Michael Barz
2020-10-26 22:35:27 +01:00
parent 1b2fc35b06
commit fbf06e91ea
+7 -5
View File
@@ -1350,8 +1350,13 @@ def notify(ctx):
'from_secret': config['rocketchat']['from_secret'] 'from_secret': config['rocketchat']['from_secret']
}, },
'channel': config['rocketchat']['channel'] 'channel': config['rocketchat']['channel']
} },
} 'when': {
'status': [
'failure',
],
},
},
], ],
'depends_on': [], 'depends_on': [],
'trigger': { 'trigger': {
@@ -1360,9 +1365,6 @@ def notify(ctx):
'refs/heads/release*', 'refs/heads/release*',
'refs/tags/**', 'refs/tags/**',
], ],
'status': [
'failure',
]
} }
} }