azure-sdk-for-cpp/eng/common/scripts/Helpers
Azure SDK Bot 7a3f332491
Sync eng/common directory with azure-sdk-tools for PR 12532 (#6800)
* Change logging functions to use Write-Host

Change logging helpers to always write to host and either set color or use devops/gh formatting.

We do not want to use Write-Error or Write-Warning directly because they can stop the script or not depending on preferences which makes it difficult to ensure local runs of scripts work the same as in the pipelines. So, we should never depend on these logging commands to cause a script to stop execution.

* Clean up error handling in CommandInvocation-Helpers

Removed legacy error handling for command failures.

* Fix error logging for command execution

* Add option to skip exiting

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2025-10-22 09:45:26 -07:00
..
ApiView-Helpers.ps1 Use AuthToken for cal to Search API (#6624) 2025-06-11 19:55:38 -07:00
AzSdkTool-Helpers.ps1 Revert "Use authenticated GitHub request when env variable is present (#12267)" (#6766) 2025-10-02 15:03:34 -07:00
CommandInvocation-Helpers.ps1 Sync eng/common directory with azure-sdk-tools for PR 12532 (#6800) 2025-10-22 09:45:26 -07:00
DevOps-WorkItem-Helpers.ps1 Sync eng/common directory with azure-sdk-tools for PR 12478 (#6793) 2025-10-20 09:49:40 -07:00
git-helpers.ps1 Sync eng/common directory with azure-sdk-tools for PR 10134 (#6489) 2025-03-31 16:56:44 -07:00
git-helpers.tests.ps1 Sync eng/common directory with azure-sdk-tools for PR 10134 (#6489) 2025-03-31 16:56:44 -07:00
Metadata-Helpers.ps1
Package-Helpers.ps1 Sync eng/common directory with azure-sdk-tools for PR 9862 (#6428) 2025-02-20 16:30:18 -08:00
PSModule-Helpers.ps1 Sync eng/common directory with azure-sdk-tools for PR 9888 (#6434) 2025-02-26 14:17:02 -08:00
Resource-Helpers.ps1 Sync eng/common directory with azure-sdk-tools repository (#6744) 2025-09-18 11:18:52 -07:00
Service-Level-Readme-Automation-Helpers.ps1 Sync eng/common directory with azure-sdk-tools for PR 9177 (#6100) 2024-10-17 08:53:06 -07:00