Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
5 changes: 3 additions & 2 deletions eng/pipelines/common/templates/jobs/ci-build-nugets-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,19 @@ jobs:
- ${{ parameters.prebuildSteps }}

# If we're testing in Package mode, then we must download dependent package artifacts.
# Downloads go to localFeedPath (local NuGet source), not $(packagePath) (build output).
- ${{ if eq(parameters.referenceType, 'Package') }}:
- task: DownloadPipelineArtifact@2
displayName: Download Abstractions Package Artifacts
inputs:
artifactName: ${{ parameters.abstractionsArtifactsName }}
targetPath: $(packagePath)
targetPath: $(localFeedPath)

- task: DownloadPipelineArtifact@2
displayName: Download Logging Package Artifacts
inputs:
artifactName: ${{ parameters.loggingArtifactsName }}
targetPath: $(packagePath)
targetPath: $(localFeedPath)

# Install the .NET SDK.
- template: /eng/pipelines/steps/install-dotnet.yml@self
Expand Down
11 changes: 9 additions & 2 deletions eng/pipelines/libraries/ci-build-variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,17 @@ variables:
- name: mdsPackageVersion
value: 7.0.0.$(Build.BuildNumber)-ci

# Output path for built NuGet packages
- name: packagePath
# Local NuGet feed directory where downloaded pipeline artifacts are placed.
# NuGet.config references this as a local package source for restore.
- name: localFeedPath
value: $(Build.SourcesDirectory)/packages

# Output path for built NuGet packages. This is intentionally separate from
# localFeedPath (where downloaded pipeline artifacts go) so that artifact
# publishing only uploads packages built by the current job.
- name: packagePath
value: $(Build.SourcesDirectory)/output

# Disable codesign validation injection for CI builds
- name: runCodesignValidationInjection
value: false
Expand Down
Loading