Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 11 additions & 15 deletions build/yaml/stages/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,6 @@ stages:
templateContext:
type: releaseJob
isProduction: true
outputs:
- output: nuget
displayName: Push to DevDiv InstrumentationEngine feed
nuGetFeedType: internal
publishVstsFeed: 59c1dfae-dea5-4ea5-ac83-c9abcb4ac339
# 1ES requires every packagesToPush entry to live under packageParentPath, which must be
# an existing folder (no wildcards). $(ArtifactsDirectory) == $(Pipeline.Workspace), the
# root all pipeline-resource artifacts download into.
packageParentPath: $(ArtifactsDirectory)
packagesToPush: $(ArtifactsDirectory)\$(WindowsInstrumentationEngineNuGetArtifactPathPattern);$(ArtifactsDirectory)\$(LinuxInstrumentationEngineNuGetArtifactPathPattern)
allowPackageConflicts: true
publishPackageMetadata: true
verbosityPush: Detailed
strategy:
runOnce:
deploy:
Expand All @@ -67,8 +54,17 @@ stages:

- task: NuGetAuthenticate@1
displayName: NuGet Authenticate
# The 'nuget' output declared in templateContext.outputs pushes the packages here,
# immediately after these deploy steps complete.

- task: NuGetCommand@2
displayName: Push to DevDiv InstrumentationEngine feed
inputs:
command: push
nuGetFeedType: internal
publishVstsFeed: 59c1dfae-dea5-4ea5-ac83-c9abcb4ac339
packagesToPush: $(ArtifactsDirectory)\$(WindowsInstrumentationEngineNuGetArtifactPathPattern);$(ArtifactsDirectory)\$(LinuxInstrumentationEngineNuGetArtifactPathPattern)
allowPackageConflicts: true
publishPackageMetadata: true
verbosityPush: Detailed
on:
# The 'on success' hook runs after the deploy phase (including the NuGet push above)
# has succeeded, so the promote step always runs after the packages are published.
Expand Down
Loading