Can you return data or files from a runbook


I am using a runbook to script the creation of a CSR for an SSL certificate, using OpenSSL. The script works fine and generates the CSR. I would like to return the generated CSR to the operator running the runbook. The only way I have found to do this is to dump the file to stdout, so that it is readable in the Task Log. The downside here is that you can’t copy and paste it from that view without picking up the log level and times as well. Is there a better way to do this?


Hi @matthew1,

Welcome to the Octopus community, thanks for reaching out!

It sounds like our Artifacts feature would be helpful in this scenario, it allows for files (such as your CSR request) to be made available for download from the Task log page:

Let me know if that isn’t quite what you are after or if you have any questions at all!

Best Regards,

Thanks Finnian. That looks perfect. Will give it a try.

Kind regards,