Duplicate slack notification on docker push


#1

I have a pipeline which can be triggered either by docker push or webhook. When I invoke the pipeline either manually or by webhook I get a single pair of notifications sent to slack:

pipeline is starting
pipeline has completed successfully

When I trigger the same pipeline using a docker push I get duplicate notifications:

pipeline is starting
pipeline is starting
pipeline has completed successfully
pipeline has completed successfully

slack

echo pod log:

2018-12-08 21:52:07.412  INFO 1 --- [RxIoScheduler-3] c.n.s.e.n.SlackNotificationAgent         : Sending Slack message address=xxx for application=devplatsvc01 type=pipeline status=starting executionId=xxx
2018-12-08 21:53:07.457  INFO 1 --- [RxIoScheduler-3] c.n.s.e.n.SlackNotificationAgent         : Sending Slack message address=xxx for application=devplatsvc01 type=pipeline status=complete executionId=xxx