-
Notifications
You must be signed in to change notification settings - Fork 229
LogGroupStart should have local build output #13222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds local build output for the LogGroupStart function to ensure that commands are logged when running in local environments (outside of Azure DevOps or GitHub Actions). Previously, LogGroupStart would only produce output in CI/CD environments, making it difficult to see grouped command output during local development.
Key Changes
- Added an
elseblock toLogGroupStartthat outputs the group message with a>prefix for local environments
|
The following pipelines have been queued for testing: |
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#13222 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#13222 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
Synced to PR [13222](Azure/azure-sdk-tools#13222), commit [bb3d6af4](Azure/azure-sdk-tools@bb3d6af)
Synced to PR [13222](Azure/azure-sdk-tools#13222), commit [bb3d6af4](Azure/azure-sdk-tools@bb3d6af)
The script call
Invoke-LoggedMsBuildCommand $command -GroupOutputshould log the command before logging its output.When run locally,
LogGroupStartlogs nothing, so the command isn't logged.