CORE-5775: added code to send a failure notification when the submission of a subsequent job in a pipeline fails