@@ -11,7 +11,7 @@ parameters:
1111 timeoutInMinutes : ' '
1212 variables : {}
1313 dependOnEvaluatePaths : false
14- uploadAsArtifacts : false
14+ uploadAs : ' azureBlob '
1515
1616# ## Product build
1717jobs :
5050
5151 - name : publishLogsArtifactPrefix
5252 value : ' BuildLogs_CoreCLR_JIT'
53- - name : uploadAsArtifacts
54- value : ${{ parameters.uploadAsArtifacts }}
53+ - name : uploadAs
54+ value : ${{ parameters.uploadAs }}
5555
5656 - name : compilerArg
5757 value : ' '
@@ -109,7 +109,7 @@ jobs:
109109 - script : set __TestIntermediateDir=int&&$(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) -ci -nopgooptimize -skiprestoreoptdata -component alljits
110110 displayName : Build CoreCLR JIT
111111
112- - ${{ if eq(parameters.uploadAsArtifacts, false ) }} :
112+ - ${{ if eq(parameters.uploadAs, 'azureBlob' ) }} :
113113 # Ensure the Python azure-storage-blob package is installed before doing the upload.
114114 - script : $(PipScript) install --user --upgrade pip && $(PipScript) install --user azure.storage.blob==12.5.0 --force-reinstall
115115 displayName : Upgrade Pip to latest and install azure-storage-blob Python package
@@ -119,7 +119,7 @@ jobs:
119119 env :
120120 CLRJIT_AZ_KEY : $(clrjit_key1) # secret key stored as variable in pipeline
121121
122- - ${{ if eq(parameters.uploadAsArtifacts, true ) }} :
122+ - ${{ if eq(parameters.uploadAs, 'pipelineArtifacts' ) }} :
123123 # Publish product output directory for consumption by tests.
124124 - template : /eng/pipelines/common/upload-artifact-step.yml
125125 parameters :
0 commit comments