Is it possible to format powershell output so that it renders as a collapsible section in the TeamCity build log, Tree view?
So for example, my build step uses a powershell runner, and issues a
write-host " ################# deployment manifest ############################"
ls -r -i *.* | %{ $_.FullName }
which outputs this:
[15:28:13] ################# deployment manifest ############################
[15:28:13]\\10.10.10.49\d$\sites\account.foo.net\v32\Bin
[15:28:13]\\10.10.10.49\d$\sites\account.foo.net\v32\contact
[15:28:13]\\10.10.10.49\d$\sites\account.foo.net\v32\Content
[15:28:13]\\10.10.10.49\d$\sites\account.foo.net\v32\controls
[15:28:13]\\10.10.10.49\d$\sites\account.foo.net\v32\error
I'd like that chunk of the log to be collapsible in the Tree View.