Skip to content

Commit

Permalink
Retire UseDotNet task
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu committed Aug 31, 2020
1 parent 6b9e23d commit a5c920b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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)
Expand Down
12 changes: 0 additions & 12 deletions eng/pipelines/templates/jobs/archetype-sdk-tests-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit a5c920b

Please sign in to comment.