Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

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)
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x