fixed slack notifications

Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
This commit is contained in:
Christian Dietrich 2019-07-24 19:27:46 +02:00
parent 02a10fa1ef
commit f89eef4247

View file

@ -122,7 +122,7 @@ spec:
lastResult = currentBuild.previousBuild.result
}
if (curResult != 'SUCCESS' && lastResult != 'SUCCESS') {
if (curResult != 'SUCCESS' || lastResult != 'SUCCESS') {
def color = ''
switch (curResult) {
case 'SUCCESS':