@@ -15,13 +15,13 @@ parameters:
15
15
timeoutInMinutes : 180
16
16
17
17
jobs :
18
- - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/release/8.0.3xx '), not(contains(parameters.agentOs, 'TemplateEngine'))) }} :
18
+ - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/release/8.0.2xx '), not(contains(parameters.agentOs, 'TemplateEngine'))) }} :
19
19
- template : /eng/common/templates/job/onelocbuild.yml
20
20
parameters :
21
21
CreatePr : true
22
22
LclSource : lclFilesfromPackage
23
23
LclPackageId : ' LCL-JUNO-PROD-DOTNETSDK'
24
- MirrorBranch : release/8.0.3xx
24
+ MirrorBranch : release/8.0.2xx
25
25
MirrorRepo : sdk
26
26
27
27
- ${{ if not(contains(parameters.agentOs, 'TemplateEngine')) }} :
88
88
-ci
89
89
-restore
90
90
$(_Test)
91
- -projects $(Build.SourcesDirectory)\test \UnitTests.proj
91
+ -projects $(Build.SourcesDirectory)\src\Tests \UnitTests.proj
92
92
/bl:$(Build.SourcesDirectory)\artifacts\log\$(_BuildConfig)\TestInHelix.binlog
93
93
/p:_CustomHelixTargetQueue=${{ parameters.helixTargetQueue }}
94
94
$(_InternalRuntimeDownloadArgs)
@@ -120,7 +120,7 @@ jobs:
120
120
-ci
121
121
-restore
122
122
-test
123
- -projects $(Build.SourcesDirectory)\test \UnitTests.proj
123
+ -projects $(Build.SourcesDirectory)\src\Tests \UnitTests.proj
124
124
/bl:$(Build.SourcesDirectory)\artifacts\log\$(_BuildConfig)\TestInHelix.binlog
125
125
/p:_CustomHelixTargetQueue=${{ parameters.helixTargetQueue }}
126
126
$(_InternalRuntimeDownloadArgs)
@@ -161,7 +161,7 @@ jobs:
161
161
-ci
162
162
-restore
163
163
-test
164
- -projects $(Build.SourcesDirectory)/test /UnitTests.proj
164
+ -projects $(Build.SourcesDirectory)/src/Tests /UnitTests.proj
165
165
/bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/TestInHelix.binlog
166
166
/p:_CustomHelixTargetQueue=${{ parameters.helixTargetQueue }}
167
167
$(_InternalRuntimeDownloadArgs)
@@ -190,7 +190,6 @@ jobs:
190
190
log/$(_BuildConfig)/**/*
191
191
TestResults/$(_BuildConfig)/**/*
192
192
SymStore/$(_BuildConfig)/**/*
193
- tmp/$(_BuildConfig)/**/*.binlog
194
193
TargetFolder : ' $(Build.ArtifactStagingDirectory)'
195
194
continueOnError : true
196
195
condition : always()
@@ -269,7 +268,7 @@ jobs:
269
268
-restore
270
269
-test
271
270
-prepareMachine
272
- -projects $(Build.SourcesDirectory)/test /UnitTests.proj
271
+ -projects $(Build.SourcesDirectory)/src/Tests /UnitTests.proj
273
272
-configuration $(_BuildConfig)
274
273
/bl:$(Build.SourcesDirectory)\artifacts\log\$(_BuildConfig)\TestInHelix.binlog
275
274
/p:_CustomHelixTargetQueue=${{ parameters.helixTargetQueue }}
@@ -303,7 +302,7 @@ jobs:
303
302
--ci
304
303
--restore
305
304
--test
306
- --projects $(Build.SourcesDirectory)/test /UnitTests.proj
305
+ --projects $(Build.SourcesDirectory)/src/Tests /UnitTests.proj
307
306
/bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/TestInHelix.binlog
308
307
/p:_CustomHelixTargetQueue=${{ parameters.helixTargetQueue }}
309
308
$(_InternalRuntimeDownloadArgs)
@@ -322,7 +321,6 @@ jobs:
322
321
log/$(_BuildConfig)/**/*
323
322
TestResults/$(_BuildConfig)/**/*
324
323
SymStore/$(_BuildConfig)/**/*
325
- tmp/$(_BuildConfig)/**/*.binlog
326
324
TargetFolder : ' $(Build.ArtifactStagingDirectory)'
327
325
continueOnError : true
328
326
condition : always()
@@ -398,7 +396,7 @@ jobs:
398
396
-ci
399
397
-restore
400
398
$(_Test)
401
- -projects $(Build.SourcesDirectory)\test \Microsoft.TemplateEngine.Cli.UnitTests\Microsoft.TemplateEngine.Cli.UnitTests.csproj
399
+ -projects $(Build.SourcesDirectory)\src\Tests \Microsoft.TemplateEngine.Cli.UnitTests\Microsoft.TemplateEngine.Cli.UnitTests.csproj
402
400
/bl:$(Build.SourcesDirectory)\artifacts\log\$(_BuildConfig)\TemplateEngine.Cli.UnitTests.binlog
403
401
$(_InternalRuntimeDownloadArgs)
404
402
displayName : Run TemplateEngine Cli Unit Tests
@@ -408,7 +406,7 @@ jobs:
408
406
-ci
409
407
-restore
410
408
$(_Test)
411
- -projects $(Build.SourcesDirectory)\test \dotnet-new.Tests\dotnet-new.IntegrationTests.csproj
409
+ -projects $(Build.SourcesDirectory)\src\Tests \dotnet-new.Tests\dotnet-new.IntegrationTests.csproj
412
410
/bl:$(Build.SourcesDirectory)\artifacts\log\$(_BuildConfig)\dotnet-new.IntegrationTests.binlog
413
411
$(_InternalRuntimeDownloadArgs)
414
412
displayName : Run dotnet new Integration Tests
@@ -432,7 +430,7 @@ jobs:
432
430
-ci
433
431
-restore
434
432
-test
435
- -projects $(Build.SourcesDirectory)/test /Microsoft.TemplateEngine.Cli.UnitTests/Microsoft.TemplateEngine.Cli.UnitTests.csproj
433
+ -projects $(Build.SourcesDirectory)/src/Tests /Microsoft.TemplateEngine.Cli.UnitTests/Microsoft.TemplateEngine.Cli.UnitTests.csproj
436
434
/bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/TemplateEngine.Cli.UnitTests.binlog
437
435
$(_InternalRuntimeDownloadArgs)
438
436
displayName : Run TemplateEngine Cli Unit Tests
@@ -442,7 +440,7 @@ jobs:
442
440
-ci
443
441
-restore
444
442
-test
445
- -projects $(Build.SourcesDirectory)/test /dotnet-new.Tests/dotnet-new.IntegrationTests.csproj
443
+ -projects $(Build.SourcesDirectory)/src/Tests /dotnet-new.Tests/dotnet-new.IntegrationTests.csproj
446
444
/bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/dotnet-new.IntegrationTests.binlog
447
445
$(_InternalRuntimeDownloadArgs)
448
446
displayName : Run dotnet new Integration Tests
@@ -465,7 +463,6 @@ jobs:
465
463
log/$(_BuildConfig)/**/*
466
464
TestResults/$(_BuildConfig)/**/*
467
465
SymStore/$(_BuildConfig)/**/*
468
- tmp/$(_BuildConfig)/**/*.binlog
469
466
TargetFolder : ' $(Build.ArtifactStagingDirectory)'
470
467
continueOnError : true
471
468
condition : always()
@@ -477,4 +474,4 @@ jobs:
477
474
ArtifactName : ' $(_AgentOSName)_$(Agent.JobName)_$(Build.BuildNumber)'
478
475
publishLocation : Container
479
476
continueOnError : true
480
- condition : always()
477
+ condition : always()
0 commit comments