Adding HTML formatted output to log


While a step is running, we want to echo an HTML formatted URL to the console which links to some logs on the server. We know that this is not 100% in line with the Octopus way, but it’s an interim step. How can we format HTML output so that the URL is clickable from the Octopus step interface?

Hi Michael,

Thanks for getting in touch! The very short answer is no. Octopus heavily sanitizes the output shown in the logs. Nothing will get through, especially formatted HTML.
However a possible solution for you might be to create an artifact as part of your deployment. On the following documentation page, it shows how to create artifacts that attach to a deployment and are clickable. Under “Collecting Artifacts”.

Would this be a viable option for you?