@@ -173,6 +173,8 @@ extends:
173173                    $(_BuildArgs) 
174174                    $(_InternalRuntimeDownloadArgs) 
175175                    $(Windows64LogArgs) 
176+             env :
177+               MSBUILDUSESERVER : " 1" 
176178            displayName : Build x64 
177179
178180          #  Build the x86 shared framework
@@ -190,6 +192,8 @@ extends:
190192                    $(_BuildArgs) 
191193                    $(_InternalRuntimeDownloadArgs) 
192194                    $(Windows86LogArgs) 
195+             env :
196+               MSBUILDUSESERVER : " 1" 
193197            displayName : Build x86 
194198
195199          #  Build the arm64 shared framework
@@ -207,6 +211,8 @@ extends:
207211                    $(_BuildArgs) 
208212                    $(_InternalRuntimeDownloadArgs) 
209213                    $(WindowsArm64LogArgs) 
214+             env :
215+               MSBUILDUSESERVER : " 1" 
210216            displayName : Build ARM64 
211217
212218          - script : .\src\SiteExtensions\build.cmd 
@@ -218,6 +224,8 @@ extends:
218224                    -noBuildNative 
219225                    $(_BuildArgs) 
220226                    $(_InternalRuntimeDownloadArgs) 
227+             env :
228+               MSBUILDUSESERVER : " 1" 
221229            displayName : Build SiteExtension 
222230
223231          #  This runs code-signing on all packages, zips, and jar files as defined in build/CodeSign.targets. If
@@ -233,6 +241,8 @@ extends:
233241                    /p:DotNetSignType=$(_SignType) 
234242                    $(_BuildArgs) 
235243                    $(WindowsSignLogArgs) 
244+             env :
245+               MSBUILDUSESERVER : " 1" 
236246            displayName : Code sign packages 
237247
238248          #  Windows installers bundle x86/x64/arm64 assets
@@ -247,6 +257,8 @@ extends:
247257                    $(_BuildArgs) 
248258                    $(_InternalRuntimeDownloadArgs) 
249259                    $(WindowsInstallersLogArgs) 
260+             env :
261+               MSBUILDUSESERVER : " 1" 
250262            displayName : Build Installers 
251263
252264          #  Windows installers bundle and sharedfx msi for arm64
@@ -265,6 +277,8 @@ extends:
265277                    $(_PublishArgs) 
266278                    $(_InternalRuntimeDownloadArgs) 
267279                    $(WindowsArm64InstallersLogArgs) 
280+             env :
281+               MSBUILDUSESERVER : " 1" 
268282            displayName : Build ARM64 Installers 
269283
270284          artifacts :
@@ -540,6 +554,7 @@ extends:
540554          jobDisplayName : " Test: Windows Server x64" 
541555          agentOs : Windows 
542556          isAzDOTestingJob : true 
557+           continueOnError : true 
543558          #  Just uploading artifacts/logs/ files can take 15 minutes. Doubling the cancel timeout for this job.
544559          cancelTimeoutInMinutes : 30 
545560          buildArgs : -all -pack -test -binaryLog /p:SkipHelixReadyTests=true /p:SkipIISNewHandlerTests=true /p:SkipIISTests=true 
@@ -615,6 +630,8 @@ extends:
615630            #  Build the shared framework
616631            - script : ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -pack -arch x64 
617632                      /p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log $(_InternalRuntimeDownloadArgs) 
633+               env :
634+                 MSBUILDUSESERVER : " 1" 
618635              displayName : Build shared fx 
619636            #  -noBuildRepoTasks -noBuildNative -noBuild to avoid repeating work done in the previous step.
620637            - script : ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -noBuildRepoTasks -noBuildNative -noBuild -test 
@@ -668,16 +685,15 @@ extends:
668685                path : artifacts/log/ 
669686                publishOnError : true 
670687                includeForks : true 
671- 
672688      #  Source build
673689      - template : /eng/common/templates-official/job/source-build.yml@self 
674690        parameters :
675691          enableInternalSources : true 
676692          platform :
677693            name : ' Managed' 
678-             container : ' mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8 ' 
679-             buildScript : ' ./eng/build.sh --publish --no-build-repo-tasks $(_PublishArgs) $(_InternalRuntimeDownloadArgs) ' 
680-             skipPublishValidation :  true 
694+             container : ' mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream-10-amd64 ' 
695+             buildScript : ' ./eng/build.sh' 
696+             buildArguments :  ' --source-build $(_InternalRuntimeDownloadArgs) ' 
681697            jobProperties :
682698              timeoutInMinutes : 120 
683699              variables :
@@ -748,4 +764,4 @@ extends:
748764          enableSigningValidation : false 
749765          enableNugetValidation : false 
750766          publishInstallersAndChecksums : true 
751-           publishAssetsImmediately : true 
767+           publishAssetsImmediately : true 
0 commit comments