Skip to content

Commit 7098a2c

Browse files
authored
Stop passing TestResourcesDirectory in live.tests.yml (Azure#51063)
1 parent 75163eb commit 7098a2c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

eng/pipelines/templates/jobs/live.tests.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,6 @@ jobs:
124124
Pool: $(Pool)
125125
${{ insert }}: ${{ parameters.EnvVars }}
126126

127-
- pwsh: |
128-
$project = "${{ parameters.Project }}"
129-
$directory = "${{ parameters.ServiceDirectory }}"
130-
if ($project -and $project -ne "**" -and (Test-Path "$(Build.SourcesDirectory)/sdk/$directory/$project/test-resources.*")) {
131-
$directory = "$directory/$project"
132-
}
133-
Write-Host "Setting TestResourcesDirectory to '$directory'"
134-
Write-Host "##vso[task.setvariable variable=TestResourcesDirectory]$directory"
135-
displayName: Set TestResources Location
136-
137127
# Install dotnet before resource deployment so the pre/post scripts can run dotnet commands.
138128
- template: /eng/pipelines/templates/steps/install-dotnet.yml
139129
parameters:
@@ -146,7 +136,6 @@ jobs:
146136
${{ if or(parameters.Location, parameters.CloudConfig.Location) }}:
147137
Location: ${{ coalesce(parameters.Location, parameters.CloudConfig.Location) }}
148138
ServiceDirectory: '${{ directory }}'
149-
TestResourcesDirectory: '$(TestResourcesDirectory)'
150139
SubscriptionConfiguration: $(SubscriptionConfiguration)
151140
ArmTemplateParameters: $(ArmTemplateParameters)
152141
UseFederatedAuth: ${{ parameters.UseFederatedAuth }}

0 commit comments

Comments
 (0)