-
Notifications
You must be signed in to change notification settings - Fork 140
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
Added azure-pipelines/build.yml #150
Conversation
Migrated from Classic Azure Pipelines to 1ES template
azure-pipelines/build.yml
Outdated
# This Yaml Document has been converted by ESAI Yaml Pipeline Conversion Tool. | ||
# Please make sure to check all the converted content, it is your team's responsibility to make sure that the pipeline is still valid and functions as expected. | ||
# This pipeline will be extended to the MicroBuild template | ||
# The Task 'NuGetCommand@2' has been converted to an output named 'NuGet push to VS feed' in the templateContext section. | ||
# The Task 'NuGetCommand@2' has been converted to an output named 'NuGet push to NuGet.org' in the templateContext section. |
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.
Should we delete this now? #Closed
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.
I think we should remove it before merging, yes
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.
+1
azure-pipelines/build.yml
Outdated
# This Yaml Document has been converted by ESAI Yaml Pipeline Conversion Tool. | ||
# Please make sure to check all the converted content, it is your team's responsibility to make sure that the pipeline is still valid and functions as expected. | ||
# This pipeline will be extended to the MicroBuild template | ||
# The Task 'NuGetCommand@2' has been converted to an output named 'NuGet push to VS feed' in the templateContext section. | ||
# The Task 'NuGetCommand@2' has been converted to an output named 'NuGet push to NuGet.org' in the templateContext section. |
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.
+1
azure-pipelines/build.yml
Outdated
displayName: 'NuGet push to VS feed' | ||
condition: and(succeeded(), eq(variables['Build.OfficialRelease'], 'true')) | ||
packageParentPath: '$(Build.ArtifactStagingDirectory)' | ||
searchPatternPush: src/Microsoft.Xaml.Behaviors/bin/Release/Microsoft.Xaml.Behaviors.Wpf.*.nupkg;!src/Microsoft.Xaml.Behaviors/bin/Release/Microsoft.Xaml.Behaviors.Wpf.*.symbols.nupkg |
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.
I had numerous pipeline failures in NuGet push
until I made following changes
• Replace searchPatternPush
with packagesToPush
• Replace feedPublish
with publishVstsFeed
• Narrow packageParentPath to $(...)\package
subfolder to avoid picking D:\a_work\1\a\MicroBuild\Verify\in\package.
Description of Change
Migrated from Classic Azure Pipelines to 1ES template
Bugs Fixed
API Changes
N/A
Behavioral Changes
N/A
PR Checklist