@@ -129,10 +129,10 @@ stages:
129
129
# The sign settings have been configured to
130
130
- script : ./build.cmd
131
131
-ci
132
- -nobl
133
132
-arch x64
134
133
-pack
135
134
-all
135
+ /bl:artifacts/log/build.x64.binlog
136
136
$(_BuildArgs)
137
137
$(_InternalRuntimeDownloadArgs)
138
138
displayName : Build x64
@@ -141,20 +141,19 @@ stages:
141
141
# This is going to actually build x86 native assets.
142
142
- script : ./build.cmd
143
143
-ci
144
- -nobl
145
144
-arch x86
146
145
-pack
147
146
-all
148
147
-noBuildJava
149
148
/p:OnlyPackPlatformSpecificPackages=true
149
+ /bl:artifacts/log/build.x86.binlog
150
150
$(_BuildArgs)
151
151
$(_InternalRuntimeDownloadArgs)
152
152
displayName : Build x86
153
153
154
154
# This is in a separate build step with -forceCoreMsbuild to workaround MAX_PATH limitations - https://github.com/Microsoft/msbuild/issues/53
155
155
- script : .\src\SiteExtensions\build.cmd
156
156
-ci
157
- -nobl
158
157
-pack
159
158
-noBuildDeps
160
159
$(_BuildArgs)
@@ -167,20 +166,20 @@ stages:
167
166
# Sign check is disabled because it is run in a separate step below, after installers are built.
168
167
- script : ./build.cmd
169
168
-ci
170
- -nobl
171
169
-noBuild
172
170
-noRestore
173
171
-sign
172
+ /bl:artifacts/log/build.codesign.binlog
174
173
/p:DotNetSignType=$(_SignType)
175
174
$(_BuildArgs)
176
175
displayName : Code sign packages
177
176
178
177
# Windows installers bundle both x86 and x64 assets
179
178
- script : ./build.cmd
180
179
-ci
181
- -nobl
182
180
-sign
183
181
-buildInstallers
182
+ /bl:artifacts/log/installers.msbuild.binlog
184
183
/p:DotNetSignType=$(_SignType)
185
184
/p:AssetManifestFileName=aspnetcore-win-x64-x86.xml
186
185
$(_BuildArgs)
@@ -220,6 +219,7 @@ stages:
220
219
-pack
221
220
-noBuildNodeJS
222
221
-noBuildJava
222
+ /bl:artifacts/log/build.win-arm.binlog
223
223
/p:DotNetSignType=$(_SignType)
224
224
/p:OnlyPackPlatformSpecificPackages=true
225
225
/p:AssetManifestFileName=aspnetcore-win-arm.xml
@@ -249,6 +249,7 @@ stages:
249
249
-pack
250
250
-noBuildNodeJS
251
251
-noBuildJava
252
+ /bl:artifacts/log/build.win-arm64.binlog
252
253
/p:DotNetSignType=$(_SignType)
253
254
/p:OnlyPackPlatformSpecificPackages=true
254
255
/p:AssetManifestFileName=aspnetcore-win-arm64.xml
@@ -279,6 +280,7 @@ stages:
279
280
--no-build-nodejs
280
281
--no-build-java
281
282
-p:OnlyPackPlatformSpecificPackages=true
283
+ -bl:artifacts/log/build.macos.binlog
282
284
-p:AssetManifestFileName=aspnetcore-MacOS_x64.xml
283
285
$(_BuildArgs)
284
286
$(_PublishArgs)
@@ -306,43 +308,43 @@ stages:
306
308
steps :
307
309
- script : ./build.sh
308
310
--ci
309
- --nobl
310
311
--arch x64
311
312
--pack
312
313
--all
313
314
--no-build-nodejs
314
315
--no-build-java
315
316
-p:OnlyPackPlatformSpecificPackages=true
317
+ -bl:artifacts/log/build.linux-x64.binlog
316
318
$(_BuildArgs)
317
319
$(_InternalRuntimeDownloadArgs)
318
320
displayName : Run build.sh
319
321
- script : |
320
322
git clean -xfd src/**/obj/
321
323
./dockerbuild.sh bionic \
322
324
--ci \
323
- --nobl \
324
325
--arch x64 \
325
326
--build-installers \
326
327
--no-build-deps \
327
328
--no-build-nodejs \
328
329
-p:OnlyPackPlatformSpecificPackages=true \
329
330
-p:BuildRuntimeArchive=false \
330
331
-p:LinuxInstallerType=deb \
332
+ -bl:artifacts/log/build.deb.binlog \
331
333
$(_BuildArgs) \
332
334
$(_InternalRuntimeDownloadArgs)
333
335
displayName: Build Debian installers
334
336
- script : |
335
337
git clean -xfd src/**/obj/
336
338
./dockerbuild.sh rhel \
337
339
--ci \
338
- --nobl \
339
340
--arch x64 \
340
341
--build-installers \
341
342
--no-build-deps \
342
343
--no-build-nodejs \
343
344
-p:OnlyPackPlatformSpecificPackages=true \
344
345
-p:BuildRuntimeArchive=false \
345
346
-p:LinuxInstallerType=rpm \
347
+ -bl:artifacts/log/build.rpm.binlog \
346
348
-p:AssetManifestFileName=aspnetcore-Linux_x64.xml \
347
349
$(_BuildArgs) \
348
350
$(_PublishArgs) \
@@ -374,6 +376,7 @@ stages:
374
376
--no-build-nodejs
375
377
--no-build-java
376
378
-p:OnlyPackPlatformSpecificPackages=true
379
+ -bl:artifacts/log/build.linux-arm.binlog
377
380
-p:AssetManifestFileName=aspnetcore-Linux_arm.xml
378
381
$(_BuildArgs)
379
382
$(_PublishArgs)
@@ -404,6 +407,7 @@ stages:
404
407
--no-build-nodejs
405
408
--no-build-java
406
409
-p:OnlyPackPlatformSpecificPackages=true
410
+ -bl:artifacts/log/build.arm64.binlog
407
411
-p:AssetManifestFileName=aspnetcore-Linux_arm64.xml
408
412
$(_BuildArgs)
409
413
$(_PublishArgs)
@@ -436,6 +440,7 @@ stages:
436
440
--no-build-nodejs
437
441
--no-build-java
438
442
-p:OnlyPackPlatformSpecificPackages=true
443
+ -bl:artifacts/log/build.musl.binlog
439
444
-p:AssetManifestFileName=aspnetcore-Linux_musl_x64.xml
440
445
$(_BuildArgs)
441
446
$(_PublishArgs)
@@ -469,6 +474,7 @@ stages:
469
474
--no-build-nodejs
470
475
--no-build-java
471
476
-p:OnlyPackPlatformSpecificPackages=true
477
+ -bl:artifacts/log/build.musl.binlog
472
478
-p:AssetManifestFileName=aspnetcore-Linux_musl_arm64.xml
473
479
$(_BuildArgs)
474
480
$(_PublishArgs)
@@ -499,7 +505,7 @@ stages:
499
505
- powershell : " & ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1"
500
506
displayName : Setup IISExpress test certificates and schema
501
507
afterBuild :
502
- - powershell : " & ./build.ps1 -CI -nobl - NoBuild -Test /p:RunQuarantinedTests=true"
508
+ - powershell : " & ./build.ps1 -CI -NoBuild -Test /p:RunQuarantinedTests=true"
503
509
displayName : Run Quarantined Tests
504
510
continueOnError : true
505
511
- task : PublishTestResults@2
@@ -530,11 +536,11 @@ stages:
530
536
agentOs : Windows
531
537
isTestingJob : true
532
538
steps :
533
- - script : ./build.cmd -ci -nobl - all -pack $(_InternalRuntimeDownloadArgs)
539
+ - script : ./build.cmd -ci -all -pack $(_InternalRuntimeDownloadArgs)
534
540
displayName : Build Repo
535
- - script : ./src/ProjectTemplates/build.cmd -ci -nobl - pack -NoRestore -NoBuilddeps "/p:RunTemplateTests=true"
541
+ - script : ./src/ProjectTemplates/build.cmd -ci -pack -NoRestore -NoBuilddeps "/p:RunTemplateTests=true /bl:artifacts/log/template.pack.binlog "
536
542
displayName : Pack Templates
537
- - script : ./src/ProjectTemplates/build.cmd -ci -nobl - test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true"
543
+ - script : ./src/ProjectTemplates/build.cmd -ci -test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true /bl:artifacts/log/template.test.binlog "
538
544
displayName : Test Templates
539
545
artifacts :
540
546
- name : Windows_Test_Templates_Dumps
@@ -562,11 +568,11 @@ stages:
562
568
- bash : " ./eng/scripts/install-nginx-mac.sh"
563
569
displayName : Installing Nginx
564
570
afterBuild :
565
- - bash : ./build.sh --ci --nobl -- pack --no-build --no-restore --no-build-deps
571
+ - bash : ./build.sh --ci --pack --no-build --no-restore --no-build-deps "/bl:artifacts/log/packages.pack.binlog"
566
572
displayName : Pack Packages (for Template tests)
567
- - bash : ./src/ProjectTemplates/build.sh --ci --nobl -- pack --no-restore --no-build-deps
573
+ - bash : ./src/ProjectTemplates/build.sh --ci --pack --no-restore --no-build-deps "/bl:artifacts/log/template.pack.binlog"
568
574
displayName : Pack Templates (for Template tests)
569
- - bash : ./build.sh --no-build --ci --nobl -- test -p:RunQuarantinedTests=true
575
+ - bash : ./build.sh --no-build --ci --test -p:RunQuarantinedTests=true
570
576
displayName : Run Quarantined Tests
571
577
continueOnError : true
572
578
- task : PublishTestResults@2
@@ -600,11 +606,11 @@ stages:
600
606
- bash : " echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p"
601
607
displayName : Increase inotify limit
602
608
afterBuild :
603
- - bash : ./build.sh --ci --nobl -- pack --no-build --no-restore --no-build-deps
609
+ - bash : ./build.sh --ci --pack --no-build --no-restore --no-build-deps "/bl:artifacts/log/packages.pack.binlog"
604
610
displayName : Pack Packages (for Template tests)
605
- - bash : ./src/ProjectTemplates/build.sh --ci --nobl -- pack --no-restore --no-build-deps
611
+ - bash : ./src/ProjectTemplates/build.sh --ci --pack --no-restore --no-build-deps "/bl:artifacts/log/template.pack.binlog"
606
612
displayName : Pack Templates (for Template tests)
607
- - bash : ./build.sh --no-build --ci --nobl -- test -p:RunQuarantinedTests=true
613
+ - bash : ./build.sh --no-build --ci --test -p:RunQuarantinedTests=true
608
614
displayName : Run Quarantined Tests
609
615
continueOnError : true
610
616
- task : PublishTestResults@2
@@ -633,11 +639,11 @@ stages:
633
639
timeoutInMinutes : 180
634
640
steps :
635
641
# Build the shared framework
636
- - script : ./build.cmd -ci -nobl - all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
642
+ - script : ./build.cmd -ci -all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log /bl:artifacts/log/helix.build.x64.binlog
637
643
displayName : Build shared fx
638
- - script : .\restore.cmd -ci -nobl /p:BuildInteropProjects=true
644
+ - script : .\restore.cmd -ci /p:BuildInteropProjects=true
639
645
displayName : Restore interop projects
640
- - 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
646
+ - 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
641
647
displayName : Run build.cmd helix target
642
648
env :
643
649
HelixApiAccessToken : $(HelixApiAccessToken) # Needed for internal queues
@@ -657,11 +663,11 @@ stages:
657
663
timeoutInMinutes : 180
658
664
steps :
659
665
# Build the shared framework
660
- - script : ./build.cmd -ci -nobl - all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
666
+ - script : ./build.cmd -ci -all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log /bl:artifacts/log/helix.daily.build.x64.binlog
661
667
displayName : Build shared fx
662
- - script : .\restore.cmd -ci -nobl /p:BuildInteropProjects=true
668
+ - script : .\restore.cmd -ci /p:BuildInteropProjects=true
663
669
displayName : Restore interop projects
664
- - 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
670
+ - 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
665
671
displayName : Run build.cmd helix target
666
672
env :
667
673
HelixApiAccessToken : $(HelixApiAccessToken) # Needed for internal queues
@@ -682,9 +688,9 @@ stages:
682
688
timeoutInMinutes : 180
683
689
steps :
684
690
# Build the shared framework
685
- - script : ./restore.sh -ci -nobl
691
+ - script : ./restore.sh -ci
686
692
displayName : Restore
687
- - 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
693
+ - 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
688
694
displayName : Run build.sh helix arm64 target
689
695
env :
690
696
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