azure-sdk-for-cpp/eng/common/scripts
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
..
Helpers Sync eng/common directory with azure-sdk-tools for PR 12532 (#6800) 2025-10-22 09:45:26 -07:00
job-matrix Use write-output for matrix script to support upstream callers (#6783) 2025-10-13 15:14:54 -07:00
stress-testing Add handling to stress deploy script to tell users when they lack TME group permissions (#6502) 2025-04-03 17:02:13 -04:00
typespec Sync eng/common directory with azure-sdk-tools for PR 9147 (#6107) 2024-10-16 15:07:00 -07:00
X509Certificate2 Make x509 certificate script from azure-sdk-for-net common to repos (#4817) 2023-07-24 13:34:08 -07:00
Add-IssueComment.ps1
Add-IssueLabels.ps1
Add-RetentionLease.ps1 Sync eng/common directory with azure-sdk-tools for PR 8340 (#5669) 2024-05-28 15:52:20 -07:00
artifact-metadata-parsing.ps1 Fix typos in ps1 scripts (#5285) 2024-01-19 10:24:42 -08:00
ChangeLog-Operations.ps1 Update changelog parsing to round-trip header (#6710) 2025-08-22 14:25:43 -07:00
check-for-git-changes.ps1 Sync eng/common directory with azure-sdk-tools for PR 7892 (#5451) 2024-03-15 17:24:05 -04:00
check-spelling-in-changed-files.ps1 Sync eng/common directory with azure-sdk-tools for PR 9013 (#6013) 2024-09-24 09:50:14 -07:00
common.ps1 Sync eng/common directory with azure-sdk-tools for PR 10694 (#6587) 2025-06-03 13:25:07 -07:00
copy-docs-to-blobstorage.ps1 Update npm-publish template (#6632) 2025-06-20 12:28:28 -07:00
Cosmos-Emulator.ps1 Consume cosmos emulator from install path on agent (#4316) 2023-01-31 21:33:57 -08:00
Create-APIReview.ps1 update scripts (#6797) 2025-10-20 13:30:39 -07:00
create-tags-and-git-release.ps1 Filter packages at verify step (#5275) 2024-01-16 16:06:48 -08:00
Delete-RemoteBranches.ps1 Sync eng/common directory with azure-sdk-tools for PR 8830 (#5915) 2024-08-15 10:03:50 -07:00
Delete-RemoteTag.ps1 Sync eng/common directory with azure-sdk-tools for PR 10134 (#6489) 2025-03-31 16:56:44 -07:00
Detect-Api-Changes.ps1 update scripts (#6797) 2025-10-20 13:30:39 -07:00
Generate-PR-Diff.ps1 Sync eng/common directory with azure-sdk-tools for PR 9823 (#6419) 2025-02-13 11:37:40 -08:00
Get-BuildSourceDescription.ps1 Sync eng/common directory with azure-sdk-tools for PR 6919 (#4988) 2023-09-25 12:35:11 -07:00
get-changedfiles.ps1 Sync eng/common directory with azure-sdk-tools for PR 2861 (#3425) 2022-03-23 16:59:07 -07:00
get-markdown-files-from-changed-files.ps1 Sync eng/common directory with azure-sdk-tools for PR 2861 (#3425) 2022-03-23 16:59:07 -07:00
Get-PullRequestCreator.ps1
git-branch-push.ps1 Fix typos in ps1 scripts (#5285) 2024-01-19 10:24:42 -08:00
Import-AzModules.ps1 Sync eng/common directory with azure-sdk-tools for PR 2847 (#3455) 2022-03-21 12:38:56 -07:00
Invoke-DevOpsAPI.ps1 Sync eng/common directory with azure-sdk-tools for PR 8340 (#5669) 2024-05-28 15:52:20 -07:00
Invoke-GitHubAPI.ps1 Use AuthToken for cal to Search API (#6624) 2025-06-11 19:55:38 -07:00
logging.ps1 Sync eng/common directory with azure-sdk-tools for PR 12532 (#6800) 2025-10-22 09:45:26 -07:00
Mark-ReleasePlanCompletion.ps1 Sync eng/common directory with azure-sdk-tools for PR 11807 (#6712) 2025-08-22 17:39:17 -04:00
New-RegenerateMatrix.ps1 Sync eng/common directory with azure-sdk-tools for PR 9147 (#6107) 2024-10-16 15:07:00 -07:00
New-ReleaseAsset.ps1
Package-Properties.ps1 Sync eng/common directory with azure-sdk-tools repository (#6575) 2025-05-15 12:40:59 -07:00
Prepare-Release.ps1 Sync eng/common directory with azure-sdk-tools for PR 12478 (#6793) 2025-10-20 09:49:40 -07:00
Queue-Pipeline.ps1 Sync eng/common directory with azure-sdk-tools for PR 8340 (#5669) 2024-05-28 15:52:20 -07:00
Remove-IssueLabel.ps1 Sync eng/common directory with azure-sdk-tools for PR 9656 (#6366) 2025-01-22 15:30:17 -08:00
Save-Package-Properties.ps1 Package Properties processing updates (#6477) 2025-03-21 09:27:52 -07:00
SemVer.ps1 Sync eng/common directory with azure-sdk-tools for PR 9668 (#6364) 2025-01-22 10:39:17 -08:00
Service-Level-Readme-Automation.ps1 Sync eng/common directory with azure-sdk-tools for PR 7040 (#4997) 2023-10-02 14:58:21 -07:00
Set-VcpkgWriteModeCache.ps1 Set-VcpkgWriteModeCache -- add token timeout param for cmake generate's that exceed 1 hour (this can happen in C++ API View) (#6796) 2025-10-16 20:52:53 -07:00
SetTestPipelineVersion.ps1 Sync eng/common directory with azure-sdk-tools for PR 12410 (#6772) 2025-10-13 09:06:58 -07:00
Submit-PullRequest.ps1 Sync eng/common directory with azure-sdk-tools for PR 12222 (#6753) 2025-09-25 14:26:42 -07:00
Test-SampleMetadata.ps1 Sync eng/common directory with azure-sdk-tools for PR 10542 (#6559) 2025-05-06 09:02:54 -07:00
trust-proxy-certificate.ps1 Sync eng/common directory with azure-sdk-tools for PR 5742 (#4465) 2023-03-21 16:14:28 -07:00
TypeSpec-Project-Generate.ps1 Bump powershell yaml versions to 0.4.7 (#6220) 2024-11-20 12:29:58 -08:00
TypeSpec-Project-Process.ps1 Bump powershell yaml versions to 0.4.7 (#6220) 2024-11-20 12:29:58 -08:00
TypeSpec-Project-Sync.ps1 Bump powershell yaml versions to 0.4.7 (#6220) 2024-11-20 12:29:58 -08:00
Update-ChangeLog.ps1 Fix typos in ps1 scripts (#5285) 2024-01-19 10:24:42 -08:00
Update-DevOps-Release-WorkItem.ps1 Sync eng/common directory with azure-sdk-tools for PR 8388 (#5704) 2024-06-13 12:10:14 -04:00
Update-DocsMsMetadata.ps1 Sync eng/common directory with azure-sdk-tools for PR 9331 (#6193) 2024-11-07 14:25:36 -08:00
Update-DocsMsPackageMonikers.ps1 Sync eng/common directory with azure-sdk-tools for PR 6895 (#4948) 2023-09-13 13:28:58 -07:00
Update-DocsMsPackages.ps1 Sync eng/common directory with azure-sdk-tools for PR 9331 (#6193) 2024-11-07 14:25:36 -08:00
Update-DocsMsToc.ps1 Bump powershell yaml versions to 0.4.7 (#6220) 2024-11-20 12:29:58 -08:00
Update-GeneratedSdks.ps1 Sync eng/common directory with azure-sdk-tools for PR 6919 (#4988) 2023-09-25 12:35:11 -07:00
Update-PullRequest-In-ReleasePlan.ps1 Sync eng/common directory with azure-sdk-tools for PR 11974 (#6723) 2025-09-05 21:38:51 -04:00
Validate-All-Packages.ps1 Sync eng/common directory with azure-sdk-tools for PR 12478 (#6793) 2025-10-20 09:49:40 -07:00
Validate-Package.ps1 Sync eng/common directory with azure-sdk-tools for PR 8388 (#5704) 2024-06-13 12:10:14 -04:00
Verify-AgentOS.ps1 Sync eng/common directory with azure-sdk-tools for PR 7810 (#5412) 2024-03-05 17:47:38 -05:00
Verify-ChangeLog.ps1 Clean-up changelog scripts (#2913) 2021-09-21 19:58:11 -07:00
Verify-ChangeLogs.ps1 Sync eng/common directory with azure-sdk-tools for PR 9381 (#6239) 2024-11-18 15:13:17 -08:00
Verify-Links.ps1 Sync eng/common directory with azure-sdk-tools for PR 10895 (#6629) 2025-06-13 15:25:00 -07:00
Verify-Readme.ps1 Sync eng/common directory with azure-sdk-tools for PR 3510 (#3778) 2022-06-28 15:52:10 -07:00
Verify-RequiredDocsJsonMembers.ps1 Sync eng/common directory with azure-sdk-tools repository (#4937) 2023-09-11 16:10:01 +00:00
Verify-Resource-Ref.ps1 Bump powershell yaml versions to 0.4.7 (#6220) 2024-11-20 12:29:58 -08:00
Verify-RestApiSpecLocation.ps1 Bump powershell yaml versions to 0.4.7 (#6220) 2024-11-20 12:29:58 -08:00
Write-FileSystemMetrics.ps1 Sync eng/common directory with azure-sdk-tools for PR 2381 (#3162) 2021-12-07 12:52:30 -08:00