File tree Expand file tree Collapse file tree 4 files changed +10
-12
lines changed
Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ extends:
281281 buildArchitecture : x64
282282 # Do not publish zips and tarballs. The linux-x64 binaries are
283283 # already published by Build_LinuxPortable_Release_x64
284- additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:IsRPMBasedDistro =true'
284+ additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:BuildSdkRpm =true'
285285 linuxPortable : true
286286 runTests : false
287287 - template : eng/build.yml@self
@@ -294,7 +294,7 @@ extends:
294294 runtimeIdentifier : ' linux-arm64'
295295 # Do not publish zips and tarballs. The linux-x64 binaries are
296296 # already published by Build_LinuxPortable_Release_x64
297- additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true /p:IsRPMBasedDistro =true'
297+ additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true /p:BuildSdkRpm =true'
298298 linuxPortable : true
299299 runTests : false
300300 - template : eng/build.yml@self
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ stages:
249249 buildArchitecture : x64
250250 # Do not publish zips and tarballs. The linux-x64 binaries are
251251 # already published by Build_LinuxPortable_Release_x64
252- additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:IsRPMBasedDistro =true'
252+ additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:BuildSdkRpm =true'
253253 linuxPortable : true
254254 runTests : false
255255 - template : eng/build-pr.yml
@@ -262,7 +262,7 @@ stages:
262262 runtimeIdentifier : ' linux-arm64'
263263 # Do not publish zips and tarballs. The linux-x64 binaries are
264264 # already published by Build_LinuxPortable_Release_x64
265- additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true /p:IsRPMBasedDistro =true'
265+ additionalBuildParameters : ' /p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true /p:BuildSdkRpm =true'
266266 linuxPortable : true
267267 runTests : false
268268 - template : eng/build-pr.yml
Original file line number Diff line number Diff line change 9393 pool :
9494 ${{ if eq(variables['System.TeamProject'], 'public') }} :
9595 name : $(DncEngPublicBuildPool)
96- image : 1es-ubuntu-2004 -open
96+ image : 1es-ubuntu-2204 -open
9797 os : linux
9898 ${{ if eq(variables['System.TeamProject'], 'internal') }} :
9999 name : $(DncEngInternalBuildPool)
Original file line number Diff line number Diff line change 1616 build environment. https://github.com/dotnet/sdk/issues/41910 -->
1717 <Target Name =" GenerateRpmsInner"
1818 DependsOnTargets =" TestFPMTool;BuildRpms"
19- Condition =" '$(IsRPMBasedDistro )' == 'True' "
19+ Condition =" '$(BuildSdkRpm )' == 'True' "
2020 Outputs =" @(GeneratedInstallers)" />
2121
2222 <Target Name =" BuildRpms"
2323 DependsOnTargets =" GenerateSdkRpm"
24- Condition =" '$(IsRPMBasedDistro )' == 'True' and '$(FPMPresent)' == 'True' " />
24+ Condition =" '$(BuildSdkRpm )' == 'True' and '$(FPMPresent)' == 'True' " />
2525
2626 <Target Name =" GenerateSdkRpm"
2727 DependsOnTargets =" SetupRpmProps" >
317317 <FPMPresent Condition =" '$(FPMExitCode)' == '0' " >True</FPMPresent >
318318 </PropertyGroup >
319319
320- <!-- Workaround for Jenkins machines that don't have the necessary packages https://github.com/dotnet/core-setup/issues/2260 -->
321- <Message Condition =" '$(FPMPresent)' != 'True' "
322- Text =" FPM tool Not found, RPM packages will not be built."
323- Importance =" High" />
320+ <Error Condition =" '$(FPMPresent)' != 'True' "
321+ Text =" FPM tool Not found, RPM packages will not be built." />
324322 </Target >
325323
326324 <Target Name =" TestSdkRpm"
327- Condition =" '$(CLIBUILD_SKIP_TESTS)' != 'true' and '$(IsRPMBasedDistro )' == 'True' and '$(FPMPresent)' == 'True' "
325+ Condition =" '$(CLIBUILD_SKIP_TESTS)' != 'true' and '$(BuildSdkRpm )' == 'True' and '$(FPMPresent)' == 'True' "
328326 Inputs =" $(DownloadedNetCoreAppTargetingPackInstallerFile);
329327 $(DownloadedNetStandardTargetingPackInstallerFile);
330328 $(DownloadedNetCoreAppHostPackInstallerFile);
You can’t perform that action at this time.
0 commit comments