diff --git a/eng/pipelines/smoke-tests.yml b/eng/pipelines/smoke-tests.yml index b451e0606bf2..e2cf0bc27313 100644 --- a/eng/pipelines/smoke-tests.yml +++ b/eng/pipelines/smoke-tests.yml @@ -100,4 +100,6 @@ jobs: - pwsh: dotnet run -p .\common\SmokeTests\SmokeTest\SmokeTest.csproj --framework $(TestTargetFramework) displayName: "Run Smoke Tests" - - template: ../common/TestResources/remove-test-resources.yml \ No newline at end of file + - template: ../common/TestResources/remove-test-resources.yml + parameters: + ServiceDirectory: '$(Build.SourcesDirectory)/common/SmokeTests/' \ No newline at end of file diff --git a/eng/pipelines/templates/jobs/archetype-sdk-tests.yml b/eng/pipelines/templates/jobs/archetype-sdk-tests.yml index 11cd244a16a3..a477ccde2621 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-tests.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-tests.yml @@ -87,6 +87,8 @@ jobs: ${{ insert }}: ${{ parameters.EnvVars }} - template: /eng/common/TestResources/remove-test-resources.yml + parameters: + ServiceDirectory: '${{ parameters.ServiceDirectory }}' - task: PublishTestResults@2 condition: always()