File tree 2 files changed +18
-6
lines changed
2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -52,15 +52,15 @@ spec:
52
52
operator : in
53
53
values :
54
54
- " true"
55
- - name : notify-build-failure # executed only when build task fails and notifications are enabled
55
+ - name : notify-build-failure
56
56
when :
57
57
- input : $(tasks.status)
58
58
operator : in
59
59
values : ["Failed"]
60
60
taskRef :
61
61
name : notify-slack
62
- params :
63
- - name : webhook-secret
64
- value : slack-webhook-secret
65
- - name : message
66
- value : $(context.pipelineRun.name) has failed
62
+ params :
63
+ - name : webhook-secret
64
+ value : slack-webhook-secret
65
+ - name : message
66
+ value : $(context.pipelineRun.name) has failed
Original file line number Diff line number Diff line change 77
77
operator : in
78
78
values :
79
79
- " true"
80
+ - name : notify-build-failure
81
+ when :
82
+ - input : $(tasks.status)
83
+ operator : in
84
+ values : ["Failed"]
85
+ taskRef :
86
+ name : notify-slack
87
+ params :
88
+ - name : webhook-secret
89
+ value : slack-webhook-secret
90
+ - name : message
91
+ value : $(context.pipelineRun.name) has failed
You can’t perform that action at this time.
0 commit comments