diff --git a/eng/pipelines/smoke-test.yml b/eng/pipelines/smoke-test.yml index 1ca716a5a28a..ddb290c7fd7c 100644 --- a/eng/pipelines/smoke-test.yml +++ b/eng/pipelines/smoke-test.yml @@ -147,4 +147,6 @@ jobs: env: AZURE_LOG_LEVEL: 2 - - template: /eng/common/TestResources/remove-test-resources.yml \ No newline at end of file + - template: /eng/common/TestResources/remove-test-resources.yml + parameters: + ServiceDirectory: '$(Build.SourcesDirectory)/common/smoke-tests/' \ 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 7045de2a1927..b91d060dc192 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-tests.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-tests.yml @@ -115,6 +115,8 @@ jobs: - ${{ if ne(parameters.DisableAzureResourceCreation, 'true') }}: - template: /eng/common/TestResources/remove-test-resources.yml + parameters: + ServiceDirectory: '${{ parameters.ServiceDirectory }}' - task: PublishTestResults@2