Class JobFailureNotifier

java.lang.Object
com.bluebell.greenhouse.radicle.services.job.JobFailureNotifier

@Service public class JobFailureNotifier extends Object
Notifies operators once an attempt has exhausted its retries.
Version:
3.0.6
Author:
Stephen Prizio
  • Constructor Details

    • JobFailureNotifier

      public JobFailureNotifier()
  • Method Details

    • notifyDeadJob

      public void notifyDeadJob(Job job, ActionExecution failedExecution)
      Sends the failure notification for a dead attempt. Delivery is best effort: a mail failure must not roll back the lifecycle transaction that recorded the failure in the first place.
      Parameters:
      job - dead Job attempt
      failedExecution - failed ActionExecution, when one was recorded