Microsoft documentation here says we can group logs with collapsible buttons. I tried out the following inline PowerShell script but didn't work. Am I doing anything wrong here?
Write-Host "##[group]Beginning of a group"
Write-Host "##[warning]Warning message"
Write-Host "##[error]Error message"
Write-Host "##[debug]Debug text"
Write-Host "##[command]Command-line being run"
Write-Host "##[endgroup]"
Formatting commands
Update:
These grouping commands are just integrated in pipeline ui (pipelines tab) Release management uses different logger ui and these are not integrated there.
I tested your sample script , on my side everything work well . What does 'didn't work' specifically refer to? Is there any message in the log?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With