I have a database update step/task that can take a while so I would like to report some progress to the Octopus UI. Is that possible?
Currently I am using a Script step with a referenced package (my db tool) and I will execute it with Powershell. When its done, I will grab the log and upload it as artifact.
However, when this tasks will take for example 30 minutes it would be nice to show some progress.
- Can I make a Powershell script that continously polls the log and show it in the deployment log? I think this is possible but its a bit hard with PS and is it recommended?
- Sometimes you see a loader in the log header (for example when download/uploading packages). Is it possible to create this with custom scripts? (ie like TeamCity special log messages ##octopusmessage)