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
Describe the bug
As of version 0.13.0 of azure-devops a message is written to STDERR for every command that is executed. As a result I had to change all of our build scripts to redirect STDERR to /dev/null whenever executing any of these commands.
Looks like this is due to the new Preview feature in Azure-CLI which we included in this release to mark the commands as preview. This should be happening only for preview commands.
@aweiker While I am following up with the Knack/Azure-CLI teams for the behavior, it looks correct to me that a preview command sends out a warning that it might change. It is on the author of the script to allow warnings if some one intentionally wants to use the preview functionality.
Script should fail/pass depending on the exit code rather than stderr. Fail on stderr is more like treat warning as error which you cannot if you are using a preview command in Azure-CLI.
@aweiker The Knack/Azure-CLI team came back with the same response as I suggested above. I see there are already issues filed there for other commands.
Since this behaviour is consistent with the Azure-CLI framework, I am closing this issue.
Feel free to follow up here or on Azure-CLI issue if you have some feedback.
Describe the bug
As of version 0.13.0 of azure-devops a message is written to STDERR for every command that is executed. As a result I had to change all of our build scripts to redirect STDERR to
/dev/null
whenever executing any of these commands.For example just
To Reproduce
Azure-Devops extension version:
Steps to reproduce the behavior:
Expected behavior
Provide a list of projects with nothing written to STDERR
The text was updated successfully, but these errors were encountered: