Skip to content

Commit

Permalink
Remove DownloadPipelineArtifact in analyze stage
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu committed Aug 31, 2020
1 parent a5c920b commit de3ad4a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
15 changes: 9 additions & 6 deletions eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,11 @@ jobs:
pip install doc-warden==$(DocWardenVersion)
ward scan -d $(Build.SourcesDirectory) -c $(Build.SourcesDirectory)/eng/.docsettings.yml
displayName: "Verify Readmes"
- task: DownloadPipelineArtifact@2
displayName: "Download Build Artifacts"
condition: succeededOrFailed()
- task: UseDotNet@2
displayName: "Use .NET Core runtime $(DotNetCoreRuntimeVersion)"
inputs:
artifact: packages
path: $(Pipeline.Workspace)/packages
patterns: "*.nupkg"
packageType: runtime
version: "$(DotNetCoreRuntimeVersion)"
- template: /eng/common/pipelines/templates/steps/verify-path-length.yml
parameters:
SourceDirectory: $(Build.SourcesDirectory)
Expand Down Expand Up @@ -136,6 +134,11 @@ jobs:
vmImage: "$(OSVmImage)"
steps:
- template: /eng/common/pipelines/templates/steps/verify-agent-os.yml
- task: UseDotNet@2
displayName: "Use .NET Core runtime $(DotNetCoreRuntimeVersion)"
inputs:
packageType: runtime
version: "$(DotNetCoreRuntimeVersion)"
- script: >-
dotnet test eng/service.proj --filter TestCategory!=Live --framework $(TestTargetFramework) --logger "trx;LogFileName=$(TestTargetFramework).trx" --logger:"console;verbosity=normal"
/p:ServiceDirectory=${{parameters.ServiceToBuild}} /p:IncludeSrc=false /p:IncludeSamples=false /p:Configuration=$(BuildConfiguration) $(ConvertToProjectReferenceOption) /p:CollectCoverage=$(CollectCoverage)
Expand Down
6 changes: 6 additions & 0 deletions eng/pipelines/templates/jobs/archetype-sdk-tests-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ jobs:

- template: /eng/common/pipelines/templates/steps/verify-agent-os.yml

- task: UseDotNet@2
displayName: "Use .NET Core runtime $(DotNetCoreRuntimeVersion)"
inputs:
packageType: runtime
version: "$(DotNetCoreRuntimeVersion)"

- template: /eng/common/TestResources/deploy-test-resources.yml
parameters:
Location: ${{ parameters.Location }}
Expand Down
4 changes: 0 additions & 4 deletions eng/pipelines/templates/steps/archetype-sdk-docs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
steps:
- task: UseDotNet@2
displayName: "Use .NET Core sdk $(DotNetCoreSDKVersion)"
inputs:
version: $(DotNetCoreSDKVersion)
- pwsh: |
# Download and Extract or restore Packages required for Doc Generation
Write-Host "Download and Extract mdoc to Build.BinariesDirectory/mdoc"
Expand Down

0 comments on commit de3ad4a

Please sign in to comment.