@@ -127,10 +127,10 @@ stages:
127
127
# The sign settings have been configured to
128
128
- script : ./build.cmd
129
129
-ci
130
- -nobl
131
130
-arch x64
132
131
-pack
133
132
-all
133
+ /bl:artifacts/log/build.x64.binlog
134
134
$(_BuildArgs)
135
135
$(_InternalRuntimeDownloadArgs)
136
136
displayName : Build x64
@@ -139,20 +139,19 @@ stages:
139
139
# This is going to actually build x86 native assets.
140
140
- script : ./build.cmd
141
141
-ci
142
- -nobl
143
142
-arch x86
144
143
-pack
145
144
-all
146
145
-noBuildJava
147
146
/p:OnlyPackPlatformSpecificPackages=true
147
+ /bl:artifacts/log/build.x86.binlog
148
148
$(_BuildArgs)
149
149
$(_InternalRuntimeDownloadArgs)
150
150
displayName : Build x86
151
151
152
152
# This is in a separate build step with -forceCoreMsbuild to workaround MAX_PATH limitations - https://github.com/Microsoft/msbuild/issues/53
153
153
- script : .\src\SiteExtensions\build.cmd
154
154
-ci
155
- -nobl
156
155
-pack
157
156
-noBuildDeps
158
157
$(_BuildArgs)
@@ -165,20 +164,20 @@ stages:
165
164
# Sign check is disabled because it is run in a separate step below, after installers are built.
166
165
- script : ./build.cmd
167
166
-ci
168
- -nobl
169
167
-noBuild
170
168
-noRestore
171
169
-sign
170
+ /bl:artifacts/log/build.codesign.binlog
172
171
/p:DotNetSignType=$(_SignType)
173
172
$(_BuildArgs)
174
173
displayName : Code sign packages
175
174
176
175
# Windows installers bundle both x86 and x64 assets
177
176
- script : ./build.cmd
178
177
-ci
179
- -nobl
180
178
-sign
181
179
-buildInstallers
180
+ /bl:artifacts/log/installers.msbuild.binlog
182
181
/p:DotNetSignType=$(_SignType)
183
182
/p:AssetManifestFileName=aspnetcore-win-x64-x86.xml
184
183
$(_BuildArgs)
@@ -218,6 +217,7 @@ stages:
218
217
-pack
219
218
-noBuildNodeJS
220
219
-noBuildJava
220
+ /bl:artifacts/log/build.win-arm.binlog
221
221
/p:DotNetSignType=$(_SignType)
222
222
/p:OnlyPackPlatformSpecificPackages=true
223
223
/p:AssetManifestFileName=aspnetcore-win-arm.xml
@@ -247,6 +247,7 @@ stages:
247
247
-pack
248
248
-noBuildNodeJS
249
249
-noBuildJava
250
+ /bl:artifacts/log/build.win-arm64.binlog
250
251
/p:DotNetSignType=$(_SignType)
251
252
/p:OnlyPackPlatformSpecificPackages=true
252
253
/p:AssetManifestFileName=aspnetcore-win-arm64.xml
@@ -277,6 +278,7 @@ stages:
277
278
--no-build-nodejs
278
279
--no-build-java
279
280
-p:OnlyPackPlatformSpecificPackages=true
281
+ -bl:artifacts/log/build.macos.binlog
280
282
-p:AssetManifestFileName=aspnetcore-MacOS_x64.xml
281
283
$(_BuildArgs)
282
284
$(_PublishArgs)
@@ -304,43 +306,43 @@ stages:
304
306
steps :
305
307
- script : ./build.sh
306
308
--ci
307
- --nobl
308
309
--arch x64
309
310
--pack
310
311
--all
311
312
--no-build-nodejs
312
313
--no-build-java
313
314
-p:OnlyPackPlatformSpecificPackages=true
315
+ -bl:artifacts/log/build.linux-x64.binlog
314
316
$(_BuildArgs)
315
317
$(_InternalRuntimeDownloadArgs)
316
318
displayName : Run build.sh
317
319
- script : |
318
320
git clean -xfd src/**/obj/
319
321
./dockerbuild.sh bionic \
320
322
--ci \
321
- --nobl \
322
323
--arch x64 \
323
324
--build-installers \
324
325
--no-build-deps \
325
326
--no-build-nodejs \
326
327
-p:OnlyPackPlatformSpecificPackages=true \
327
328
-p:BuildRuntimeArchive=false \
328
329
-p:LinuxInstallerType=deb \
330
+ -bl:artifacts/log/build.deb.binlog \
329
331
$(_BuildArgs) \
330
332
$(_InternalRuntimeDownloadArgs)
331
333
displayName: Build Debian installers
332
334
- script : |
333
335
git clean -xfd src/**/obj/
334
336
./dockerbuild.sh rhel \
335
337
--ci \
336
- --nobl \
337
338
--arch x64 \
338
339
--build-installers \
339
340
--no-build-deps \
340
341
--no-build-nodejs \
341
342
-p:OnlyPackPlatformSpecificPackages=true \
342
343
-p:BuildRuntimeArchive=false \
343
344
-p:LinuxInstallerType=rpm \
345
+ -bl:artifacts/log/build.rpm.binlog \
344
346
-p:AssetManifestFileName=aspnetcore-Linux_x64.xml \
345
347
$(_BuildArgs) \
346
348
$(_PublishArgs) \
@@ -372,6 +374,7 @@ stages:
372
374
--no-build-nodejs
373
375
--no-build-java
374
376
-p:OnlyPackPlatformSpecificPackages=true
377
+ -bl:artifacts/log/build.linux-arm.binlog
375
378
-p:AssetManifestFileName=aspnetcore-Linux_arm.xml
376
379
$(_BuildArgs)
377
380
$(_PublishArgs)
@@ -402,6 +405,7 @@ stages:
402
405
--no-build-nodejs
403
406
--no-build-java
404
407
-p:OnlyPackPlatformSpecificPackages=true
408
+ -bl:artifacts/log/build.arm64.binlog
405
409
-p:AssetManifestFileName=aspnetcore-Linux_arm64.xml
406
410
$(_BuildArgs)
407
411
$(_PublishArgs)
@@ -434,6 +438,7 @@ stages:
434
438
--no-build-nodejs
435
439
--no-build-java
436
440
-p:OnlyPackPlatformSpecificPackages=true
441
+ -bl:artifacts/log/build.musl.binlog
437
442
-p:AssetManifestFileName=aspnetcore-Linux_musl_x64.xml
438
443
$(_BuildArgs)
439
444
$(_PublishArgs)
@@ -467,6 +472,7 @@ stages:
467
472
--no-build-nodejs
468
473
--no-build-java
469
474
-p:OnlyPackPlatformSpecificPackages=true
475
+ -bl:artifacts/log/build.musl.binlog
470
476
-p:AssetManifestFileName=aspnetcore-Linux_musl_arm64.xml
471
477
$(_BuildArgs)
472
478
$(_PublishArgs)
@@ -497,7 +503,7 @@ stages:
497
503
- powershell : " & ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1"
498
504
displayName : Setup IISExpress test certificates and schema
499
505
afterBuild :
500
- - powershell : " & ./build.ps1 -CI -nobl - NoBuild -Test /p:RunQuarantinedTests=true"
506
+ - powershell : " & ./build.ps1 -CI -NoBuild -Test /p:RunQuarantinedTests=true"
501
507
displayName : Run Quarantined Tests
502
508
continueOnError : true
503
509
- task : PublishTestResults@2
@@ -528,11 +534,11 @@ stages:
528
534
agentOs : Windows
529
535
isTestingJob : true
530
536
steps :
531
- - script : ./build.cmd -ci -nobl - all -pack $(_InternalRuntimeDownloadArgs)
537
+ - script : ./build.cmd -ci -all -pack $(_InternalRuntimeDownloadArgs)
532
538
displayName : Build Repo
533
- - script : ./src/ProjectTemplates/build.cmd -ci -nobl - pack -NoRestore -NoBuilddeps "/p:RunTemplateTests=true"
539
+ - script : ./src/ProjectTemplates/build.cmd -ci -pack -NoRestore -NoBuilddeps "/p:RunTemplateTests=true /bl:artifacts/log/template.pack.binlog "
534
540
displayName : Pack Templates
535
- - script : ./src/ProjectTemplates/build.cmd -ci -nobl - test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true"
541
+ - script : ./src/ProjectTemplates/build.cmd -ci -test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true /bl:artifacts/log/template.test.binlog "
536
542
displayName : Test Templates
537
543
artifacts :
538
544
- name : Windows_Test_Templates_Dumps
@@ -560,11 +566,11 @@ stages:
560
566
- bash : " ./eng/scripts/install-nginx-mac.sh"
561
567
displayName : Installing Nginx
562
568
afterBuild :
563
- - bash : ./build.sh --ci --nobl -- pack --no-build --no-restore --no-build-deps
569
+ - bash : ./build.sh --ci --pack --no-build --no-restore --no-build-deps "/bl:artifacts/log/packages.pack.binlog"
564
570
displayName : Pack Packages (for Template tests)
565
- - bash : ./src/ProjectTemplates/build.sh --ci --nobl -- pack --no-restore --no-build-deps
571
+ - bash : ./src/ProjectTemplates/build.sh --ci --pack --no-restore --no-build-deps "/bl:artifacts/log/template.pack.binlog"
566
572
displayName : Pack Templates (for Template tests)
567
- - bash : ./build.sh --no-build --ci --nobl -- test -p:RunQuarantinedTests=true
573
+ - bash : ./build.sh --no-build --ci --test -p:RunQuarantinedTests=true
568
574
displayName : Run Quarantined Tests
569
575
continueOnError : true
570
576
- task : PublishTestResults@2
@@ -598,11 +604,11 @@ stages:
598
604
- bash : " echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p"
599
605
displayName : Increase inotify limit
600
606
afterBuild :
601
- - bash : ./build.sh --ci --nobl -- pack --no-build --no-restore --no-build-deps
607
+ - bash : ./build.sh --ci --pack --no-build --no-restore --no-build-deps "/bl:artifacts/log/packages.pack.binlog"
602
608
displayName : Pack Packages (for Template tests)
603
- - bash : ./src/ProjectTemplates/build.sh --ci --nobl -- pack --no-restore --no-build-deps
609
+ - bash : ./src/ProjectTemplates/build.sh --ci --pack --no-restore --no-build-deps "/bl:artifacts/log/template.pack.binlog"
604
610
displayName : Pack Templates (for Template tests)
605
- - bash : ./build.sh --no-build --ci --nobl -- test -p:RunQuarantinedTests=true
611
+ - bash : ./build.sh --no-build --ci --test -p:RunQuarantinedTests=true
606
612
displayName : Run Quarantined Tests
607
613
continueOnError : true
608
614
- task : PublishTestResults@2
@@ -631,11 +637,11 @@ stages:
631
637
timeoutInMinutes : 180
632
638
steps :
633
639
# Build the shared framework
634
- - script : ./build.cmd -ci -nobl - all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
640
+ - script : ./build.cmd -ci -all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log /bl:artifacts/log/helix.build.x64.binlog
635
641
displayName : Build shared fx
636
- - script : .\restore.cmd -ci -nobl /p:BuildInteropProjects=true
642
+ - script : .\restore.cmd -ci /p:BuildInteropProjects=true
637
643
displayName : Restore interop projects
638
- - script : .\build.cmd -ci -nobl - NoRestore -test -all -projects eng\helix\helix.proj /p:IsRequiredCheck=true /p:IsHelixJob=true /p:BuildInteropProjects=true /p:RunTemplateTests=true /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
644
+ - script : .\build.cmd -ci -NoRestore -test -all -projects eng\helix\helix.proj /p:IsRequiredCheck=true /p:IsHelixJob=true /p:BuildInteropProjects=true /p:RunTemplateTests=true /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log -bl
639
645
displayName : Run build.cmd helix target
640
646
env :
641
647
HelixApiAccessToken : $(HelixApiAccessToken) # Needed for internal queues
@@ -655,11 +661,11 @@ stages:
655
661
timeoutInMinutes : 180
656
662
steps :
657
663
# Build the shared framework
658
- - script : ./build.cmd -ci -nobl - all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
664
+ - script : ./build.cmd -ci -all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log /bl:artifacts/log/helix.daily.build.x64.binlog
659
665
displayName : Build shared fx
660
- - script : .\restore.cmd -ci -nobl /p:BuildInteropProjects=true
666
+ - script : .\restore.cmd -ci /p:BuildInteropProjects=true
661
667
displayName : Restore interop projects
662
- - script : .\build.cmd -ci -nobl - NoRestore -test -all -projects eng\helix\helix.proj /p:IsHelixJob=true /p:IsHelixDaily=true /p:BuildInteropProjects=true /p:RunTemplateTests=true /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
668
+ - script : .\build.cmd -ci -NoRestore -test -all -projects eng\helix\helix.proj /p:IsHelixJob=true /p:IsHelixDaily=true /p:BuildInteropProjects=true /p:RunTemplateTests=true /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log -bl
663
669
displayName : Run build.cmd helix target
664
670
env :
665
671
HelixApiAccessToken : $(HelixApiAccessToken) # Needed for internal queues
@@ -680,9 +686,9 @@ stages:
680
686
timeoutInMinutes : 180
681
687
steps :
682
688
# Build the shared framework
683
- - script : ./restore.sh -ci -nobl
689
+ - script : ./restore.sh -ci
684
690
displayName : Restore
685
- - script : ./build.sh -ci --nobl -- arch arm64 -test --no-build-nodejs --all -projects $(Build.SourcesDirectory)/eng/helix/helix.proj /p:IsHelixJob=true /p:IsHelixDaily=true /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
691
+ - script : ./build.sh -ci --arch arm64 -test --no-build-nodejs --all -projects $(Build.SourcesDirectory)/eng/helix/helix.proj /p:IsHelixJob=true /p:IsHelixDaily=true /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log -bl
686
692
displayName : Run build.sh helix arm64 target
687
693
env :
688
694
HelixApiAccessToken : $(HelixApiAccessToken) # Needed for internal queues
@@ -721,7 +727,7 @@ stages:
721
727
arguments : $(Build.SourcesDirectory)/NuGet.config $Token
722
728
env :
723
729
Token : $(dn-bot-dnceng-artifact-feeds-rw)
724
- - script : ./eng/scripts/ci-source-build.sh --ci --nobl -- configuration Release /p:BuildManaged=true /p:BuildNodeJs=false
730
+ - script : ./eng/scripts/ci-source-build.sh --ci --configuration Release /p:BuildManaged=true /p:BuildNodeJs=false
725
731
displayName : Run ci-source-build.sh
726
732
- task : PublishBuildArtifacts@1
727
733
displayName : Upload logs
0 commit comments