Add log (ideally from a specific step) to email

Hi,

I currently have a powershell script step which runs an exe file stored on the octopus server. I can see what has been written to console in the exe file in the deploy log, however I’d prefer this data to be emailed in the following step. Is there any way this is possible?

Any help would be much appreciated!
Calum

Hi,

Thanks for reaching out! If you can catch the output into a variable, you can use it to create an Octopus Output variable and then use that on your email step.

Cheers,
Dalmiro

Thanks, that’s a better solution anyway!
Calum