Commit Graph

11 Commits

Author SHA1 Message Date
Azure SDK Bot
78de0b7c25
LogGroupStart should have local build output (#6867)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2025-12-08 23:26:27 -08:00
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
Azure SDK Bot
5afdf22a90
Reorder error and warning log line processing (#6792)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-10-20 10:00:18 -07:00
Azure SDK Bot
1f7b40dee5
Add DevOps logging support for invoke helper (#6752)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2025-09-25 15:49:08 -07:00
Azure SDK Bot
19f1aa4879
Update logging functions for github actions (#6499)
We need to use Write-Host for the custom logging commands to get them correctly out into stdout which is what they need to be interpreted correctly.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-04-01 14:40:07 -07:00
Azure SDK Bot
88beb19768
Add helpers to log a GitHub "notice" (#6228)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2024-11-15 17:10:57 -08:00
Azure SDK Bot
dc16283c09
Sync eng/common directory with azure-sdk-tools for PR 9288 (#6160)
* Update Logging

* Update eng/common/scripts/logging.ps1

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-10-31 14:00:19 -07:00
Azure SDK Bot
18fb2de089
Sync eng/common directory with azure-sdk-tools for PR 5951 (#4537)
* Switch to using standard PAT tokens instead of base 64

For most of these we can use the standard System.AccessToken given to
the build instead of maintaining a specific token. However that
token isn't base 64 encoded so we need to encode it.

With this we can stop explicitly passing PAT's unless we need to
access another DevOps org and we also don't have to remember
to keep the PAT's in KV base 64 encoded.

Add error detection for queue build script to fail if we get login response.

* PR Feedback

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2023-04-11 18:32:39 -07:00
Azure SDK Bot
02622fff74
Update Prepare-Release script (#1757)
- Remove BuildType parameter as we can default it from package properties
- Stop passing BuildType and GroupId and instead defaul them from package properties
- Enable StrictMode to help identify potential errors
- Start passing sdktype and isnewsdk properties to devops script
- Sync latest changes with devops work item to fix a couple bugs

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-02-26 18:46:42 -08:00
Azure SDK Bot
9c0620c5a9
Sync eng/common directory with azure-sdk-tools repository for Tools PR 1061 (#699) 2020-09-30 12:54:42 -07:00
Azure SDK Bot
0f262cd0e0
Sync eng/common directory with azure-sdk-tools repository for Tools PR 974 (#620) 2020-09-16 10:02:19 -07:00