From a5c920b832013e9e965dc2a6e07d08883c16e9ab Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu Date: Tue, 25 Aug 2020 17:47:20 -0700 Subject: [PATCH] Retire UseDotNet task --- .../templates/jobs/archetype-sdk-client.yml | 12 ------------ .../templates/jobs/archetype-sdk-tests-jobs.yml | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/eng/pipelines/templates/jobs/archetype-sdk-client.yml b/eng/pipelines/templates/jobs/archetype-sdk-client.yml index d03cdcc205064..2443ffa526760 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-client.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-client.yml @@ -30,10 +30,6 @@ jobs: RootFolder: '.' BuildSHA: $(Build.SourceVersion) RepoId: 'Azure/azure-sdk-for-net' - - pwsh: | - dotnet --list-sdks - dotnet --list-runtimes - displayName: View Dotnet Versions installed - script: >- dotnet pack eng/service.proj -o $(Build.ArtifactStagingDirectory) -warnaserror /p:ServiceDirectory=${{parameters.ServiceToBuild}} /p:PublicSign=false $(VersioningProperties) /p:Configuration=$(BuildConfiguration) /p:CommitSHA=$(Build.SourceVersion) @@ -74,10 +70,6 @@ jobs: pip install doc-warden==$(DocWardenVersion) ward scan -d $(Build.SourcesDirectory) -c $(Build.SourcesDirectory)/eng/.docsettings.yml displayName: "Verify Readmes" - - pwsh: | - dotnet --list-sdks - dotnet --list-runtimes - displayName: View Dotnet Versions installed - task: DownloadPipelineArtifact@2 displayName: "Download Build Artifacts" condition: succeededOrFailed() @@ -144,10 +136,6 @@ jobs: vmImage: "$(OSVmImage)" steps: - template: /eng/common/pipelines/templates/steps/verify-agent-os.yml - - pwsh: | - dotnet --list-sdks - dotnet --list-runtimes - displayName: View Dotnet Versions installed - 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) diff --git a/eng/pipelines/templates/jobs/archetype-sdk-tests-jobs.yml b/eng/pipelines/templates/jobs/archetype-sdk-tests-jobs.yml index 6893a124385ad..9f89d5723406e 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-tests-jobs.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-tests-jobs.yml @@ -55,18 +55,6 @@ 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)" - - - task: UseDotNet@2 - displayName: "Use .NET Core sdk $(DotNetCoreSDKVersion)" - inputs: - packageType: sdk - version: "$(DotNetCoreSDKVersion)" - - template: /eng/common/TestResources/deploy-test-resources.yml parameters: Location: ${{ parameters.Location }}