diff --git a/eng/pipelines/libraries/base-job.yml b/eng/pipelines/libraries/base-job.yml index 45380e41c308e7bc1431c8ca460319f287bf6db6..c6c2081f9197af8bf3dfb3ef36f9c19ea35cfa8a 100644 --- a/eng/pipelines/libraries/base-job.yml +++ b/eng/pipelines/libraries/base-job.yml @@ -78,7 +78,10 @@ jobs: - ${{ if ne(parameters.liveCoreClrBuildConfig, '') }}: - _coreClrDownloadPath: '$(Build.SourcesDirectory)/artifacts/transport/coreclr' - _coreClrArtifactName: 'CoreCLRProduct_${{ parameters.osGroup }}${{ parameters.osSubgroup }}_${{ parameters.archType }}_${{ parameters.liveCoreClrBuildConfig }}' - - _coreClrArtifactsPathArg: ' /p:CoreCLRArtifactsPath=$(_coreClrDownloadPath)' + - ${{ if ne(parameters.container, '') }}: + - _coreClrArtifactsPathArg: '/p:CoreCLRArtifactsPath=${_CORECLRDOWNLOADPATH}' + - ${{ if eq(parameters.container, '') }}: + - _coreClrArtifactsPathArg: ' /p:CoreCLRArtifactsPath=$(_coreClrDownloadPath)' # WebAssembly uses linux implementation detail - ${{ if eq(parameters.osGroup, 'WebAssembly') }}: