Skip to content

Instantly share code, notes, and snippets.

@CGaskell
CGaskell / OctopusNotification.html
Created November 17, 2016 10:32
Octopus Deployment Detail Email Template
<html><body style="font-family: arial; font-size: 12px;"><h2>Deployment of #{Octopus.Project.Name} #{Octopus.Release.Number} to #{Octopus.Environment.Name}</h2><p>  <em>Initiated by    #{unless Octopus.Deployment.CreatedBy.DisplayName}#{Octopus.Deployment.CreatedBy.Username}#{/unless}    #{if Octopus.Deployment.CreatedBy.DisplayName}#{Octopus.Deployment.CreatedBy.DisplayName}#{/if}    #{if Octopus.Deployment.CreatedBy.EmailAddress} (<a href="mailto: #{Octopus.Deployment.CreatedBy.EmailAddress}">#{Octopus.Deployment.CreatedBy.EmailAddress}</a>)#{/if}    at #{Octopus.Deployment.Created}</em> <br> <a href="http://[OctoSvrUrl]/app#/projects/#{Octopus.Project.Name}/releases/#{Octopus.Release.Number}">Click here</a> to view the release detail</p>#{if Octopus.Release.Notes}<h3>Release notes</h3><p>#{Octopus.Release.Notes}</p>#{/if}<h3>Deployment process</h3><p>The deployment included the following actions:</p><ul>  #{each action in Octopus.Action}    <li><strong>#{action.Name}</strong> #{if action.Package.NuGetPacka