Remove workaround for Build.SourcesDirectory variable in containers (#2261)
authorSantiago Fernandez Madero <safern@microsoft.com>
Tue, 28 Jan 2020 18:54:52 +0000 (10:54 -0800)
committerGitHub <noreply@github.com>
Tue, 28 Jan 2020 18:54:52 +0000 (10:54 -0800)
eng/pipelines/libraries/base-job.yml

index b21e37b..5c43470 100644 (file)
@@ -91,10 +91,7 @@ jobs:
         - ${{ if ne(parameters.liveRuntimeBuildConfig, '') }}:
           - _runtimeDownloadPath: '$(Build.SourcesDirectory)/artifacts/transport/${{ parameters.runtimeFlavor }}'
           - _runtimeArtifactName: '$(runtimeFlavorName)Product_${{ parameters.osGroup }}${{ parameters.osSubgroup }}_${{ parameters.archType }}_${{ parameters.liveRuntimeBuildConfig }}'
-          - ${{ if ne(parameters.container, '') }}:
-            - _runtimeArtifactsPathArg: '/p:RuntimeArtifactsPath=${_RUNTIMEDOWNLOADPATH}'
-          - ${{ if eq(parameters.container, '') }}:
-            - _runtimeArtifactsPathArg: ' /p:RuntimeArtifactsPath=$(_runtimeDownloadPath)'
+          - _runtimeArtifactsPathArg: ' /p:RuntimeArtifactsPath=$(_runtimeDownloadPath)'
 
           # WebAssembly uses linux implementation detail
           - ${{ if eq(parameters.osGroup, 'WebAssembly') }}: