You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please add supression as output often leaks into output from user code in pipeline output.
Output to terminal from task is often delayed and will show up in the middle of executing user code, and pollute output pipeline logs.
Environment type (Please select at least one enviroment where you face this issue)
Self-Hosted
Microsoft Hosted
VMSS Pool
Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows
Relevant log output
Also output logs does not log as expected from task:
Connect-AzAccount System.Collections.Hashtable
VERBOSE: Command [Connect-AzAccount] succeeded.
Example of output pollution:
(\__/) |||( 王ノ〈
(•ㅅ•) || /ミー―彡\
/ づ / ╰ ╯ \
Account SubscriptionName TenantId Environment
------- ---------------- -------- -----------
*** Company-core-mgm XXXXXX-XXXX-XXXX-XXXX-XXXXXXX AzureCloud
Startup tasks
[+] finding & importing configuration files
Full task logs with system.debug enabled
[REPLACE THIS WITH YOUR INFORMATION]
Repro steps
No response
The text was updated successfully, but these errors were encountered:
mortenlerudjordet
changed the title
[BUG]: Consistent output supression in AzurePowershellV5
[BUG]: Consistent output suppression in AzurePowershellV5
Mar 27, 2024
New issue checklist
Task name
AzurePowershellV5
Task version
v5
Issue Description
New code addition in V5 does not follow same supression pattern as older versions.
Example old pattern in InitializeAz.ps1:
$null = Connect-AzAccount
$null = Set-AzContext
New code that does not follow this pattern (no $null):
Please add supression as output often leaks into output from user code in pipeline output.
Output to terminal from task is often delayed and will show up in the middle of executing user code, and pollute output pipeline logs.
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows
Relevant log output
Full task logs with system.debug enabled
Repro steps
No response
The text was updated successfully, but these errors were encountered: