Skip to content

Remove Windows pool from build stage#1535

Open
vineeththomasalex wants to merge 5 commits intomasterfrom
user/vithoma/PoolFix
Open

Remove Windows pool from build stage#1535
vineeththomasalex wants to merge 5 commits intomasterfrom
user/vithoma/PoolFix

Conversation

@vineeththomasalex
Copy link
Contributor

Removed Windows pool configuration from build stage, since template job defines the pool.

Removed Windows pool configuration from build stage, since template job defines pool
Copy link
Member

@DefaultRyan DefaultRyan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please port this and the other needed changes over to OneBranch.PullRequest.yml

inputs:
command: 'custom'
arguments: 'push $(ob_outputDirectory)\packages\Microsoft.Windows.CppWinRT.$(PackageVersion).nupkg -NonInteractive -Source https://microsoft.pkgs.visualstudio.com/_packaging/CppWinRT/nuget/v3/index.json -ApiKey VSTS' No newline at end of file
arguments: 'push $(ob_outputDirectory)\packages\Microsoft.Windows.CppWinRT.$(PackageVersion).nupkg -NonInteractive -Source https://microsoft.pkgs.visualstudio.com/_packaging/CppWinRT/nuget/v3/index.json -ApiKey VSTS -SkipDuplicate'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DefaultRyan Let me know how you feel about this one

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's an improvement, but rather than silently omitting packages from the official build just because they collide with a CI build version, let's add a pre-release version to the CI builds. This will remove the collisions so that the official build can always push, and it also clearly denotes the non-official with the pre-release identifier.

I added the code suggestion up above.

inputs:
command: 'custom'
arguments: 'push $(ob_outputDirectory)\packages\Microsoft.Windows.CppWinRT.$(PackageVersion).nupkg -NonInteractive -Source https://microsoft.pkgs.visualstudio.com/_packaging/CppWinRT/nuget/v3/index.json -ApiKey VSTS' No newline at end of file
arguments: 'push $(ob_outputDirectory)\packages\Microsoft.Windows.CppWinRT.$(PackageVersion).nupkg -NonInteractive -Source https://microsoft.pkgs.visualstudio.com/_packaging/CppWinRT/nuget/v3/index.json -ApiKey VSTS -SkipDuplicate'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's an improvement, but rather than silently omitting packages from the official build just because they collide with a CI build version, let's add a pre-release version to the CI builds. This will remove the collisions so that the official build can always push, and it also clearly denotes the non-official with the pre-release identifier.

I added the code suggestion up above.

vineeththomasalex and others added 2 commits February 4, 2026 16:55
Co-authored-by: Ryan Shepherd <ryansh@microsoft.com>
Removed the -SkipDuplicate option from the NuGet push command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants