Created
July 31, 2014 04:43
-
-
Save nblumhardt/f617760cd80c0465150f to your computer and use it in GitHub Desktop.
Showing step summary in a deployment email with Octopus Deploy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h3>Task summary:</h3> | |
<ol> | |
#{each step in Octopus.Step} | |
<li>#{step.Name | HtmlEscape} — <strong>#{step.Status.Code}</strong> #{step.Status.Error | HtmlEscape} | |
#{if step.Status.ErrorDetail} | |
<pre>#{step.Status.ErrorDetail | HtmlEscape}</pre> | |
#{/if} | |
</li> | |
#{/each} | |
</ol> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Doesn't work for me on Octopus 2.4 - I get the code fragments returned as-is in the failure email :-(
'Field is bound' and 'Body is HTML' are checked. Any ideas?