Show Child Steps in Email?

We’re using the email template from http://docs.octopusdeploy.com/display/OD/Email+notifications in our deploys, however I was wondering if there’s a way to show child steps in the emails?

Currently, we just get:
Task summary

  1. Deployment Notification — Succeeded
  2. Deploy Site — Succeeded
  3. Failure Notification — Abandoned
  4. Sucess Notification — Running

Would like to see something like:

  1. Deployment Notification — Succeeded
  2. Deployment — Succeeded
    a. Stop Service — Succeeded
    b. Remove old version — Succeeded
    c. Install new version — Succeeded
    d. Start Service — Succeeded
  3. Failure Notification — Abandoned
  4. Sucess Notification — Running

Code used:

Task summary

    #{each step in Octopus.Step} #{if step.Status.Code}
  1. #{step | HtmlEscape} — #{step.Status.Code} #{if step.Status.Error}
    #{step.Status.Error | HtmlEscape}
    #{step.Status.ErrorDetail | HtmlEscape}
    #{/if}
  2. #{/if} #{/each}

Hi Will,

Thanks for reaching out. Unfortunately there isn’t a way to include child steps like you are asking. Please feel free to add this as a uservoice request (in case it doesnt exist yet). If it gets enough love from the community, we will consider it for future releases :slight_smile:

http://octopusdeploy.uservoice.com/

Thanks!

Dalmiro