Slide 1
Excellent Education Program
Innovative Methods of Teaching

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient.

Slide 2
Learning Through Play
Devoted to the Early Education

Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.

Slide 2
Learning Through Play
Devoted to the Early Education

Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.

Slide 2
Learning Through Play
Devoted to the Early Education

Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.

Slide 2
Learning Through Play
Devoted to the Early Education

Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.

Slide 3
Learning Through Play
Find a Class for your Children

Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis.

previous arrow
next arrow

Octopus Deploy – Send a Notification When Deployments Fail

Spread the Knowledge

If you are using Octopus Deploy as part of a continuous delivery pipeline, you’ll probably find that deployments don’t fail very often. This means, you need to send an email about staus of each deployment process to differnet stake holders.

Here is a simple email notification step that tells you when a deployment fails, including a reasonable amount of information about the failure.

You must also needs to understand a Octopus Deploy system variable which can be used to customized a email body. As a work-around you could use two steps for sending the ‘status-email’:

  • One step sending ‘success’-email. This step should have its ‘Run condition’ set to ‘Success: only run when previous steps are successfull’.
  • Another step sending ‘failure’-email. This step should have ‘Run condition’ set to ‘Failure: only run when a previous step failed’.

Perhaps the system-variables Octopus.Deployment.Error Octopus.Deployment.ErrorDetail could also be helpfull.

https://octopus.com/docs/deployment-process/variables/system-variables

https://stackoverflow.com/questions/41474157/how-do-i-add-the-job-status-success-or-failure-in-the-email-notification


Rajesh Kumar
Latest posts by Rajesh Kumar (see all)