Skip to content

Commit a449e71

Browse files
committed
logging
1 parent 882a2da commit a449e71

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

build/ci/build-and-test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ parameters:
88

99
steps:
1010
- pwsh: |
11+
Get-Content $PSCommandPath
1112
dotnet cake build.cake `
1213
--target=ci-build `
1314
--configuration="$(configuration)" `
@@ -21,12 +22,14 @@ steps:
2122
RepositoryType: "git"
2223
2324
- pwsh: |
25+
Get-Content $PSCommandPath
2426
dotnet cake validation.cake `
2527
--namespaces="${{ join(',', parameters.validPackagePrefixes) }}" `
2628
--verbosity="$(verbosity)"
2729
displayName: 'Run NuGet package validation'
2830
2931
- pwsh: |
32+
Get-Content $PSCommandPath
3033
dotnet cake nuget-diff.cake `
3134
--artifacts="${{ parameters.artifactsPath }}" `
3235
--output="${{ parameters.artifactsPath }}/api-diff" `
@@ -35,10 +38,13 @@ steps:
3538
displayName: 'Generate API diff'
3639
condition: eq(variables['Agent.OS'], 'Windows_NT')
3740
38-
- pwsh: dotnet cake utilities.cake -t=verify-namespace-file
41+
- pwsh: |
42+
Get-Content $PSCommandPath
43+
dotnet cake utilities.cake -t=verify-namespace-file
3944
displayName: Verify published namespaces
4045
4146
- pwsh: |
47+
Get-Content $PSCommandPath
4248
dotnet cake build.cake `
4349
--target=ci-samples `
4450
--configuration="$(configuration)" `

build/ci/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151

5252
# Copy SignList.xml to output
5353
- pwsh: |
54+
Get-Content $PSCommandPath
5455
$srcExists = (Test-Path "${{ parameters.signListPath }}")
5556
$dstExists = (Test-Path "${{ parameters.artifactsPath }}\SignList.xml")
5657
if ($srcExists -and !$dstExists) {

build/ci/job-extended-tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ jobs:
3636
arguments: -c $(configuration)
3737

3838
# Figure out which tests this slice is running
39-
- pwsh: >-
40-
dotnet dotnet-test-slicer
41-
slice
42-
--test-assembly="${{ parameters.testAssembly }}"
43-
--test-filter="${{ parameters.testFilter }}"
44-
--slice-number=$(System.JobPositionInPhase)
45-
--total-slices=$(System.TotalJobsInPhase)
46-
--outfile="${{ parameters.testAssembly }}.runsettings"
39+
- pwsh: |
40+
Get-Content $PSCommandPath
41+
dotnet dotnet-test-slicer slice `
42+
--test-assembly="${{ parameters.testAssembly }}" `
43+
--test-filter="${{ parameters.testFilter }}" `
44+
--slice-number=$(System.JobPositionInPhase) `
45+
--total-slices=$(System.TotalJobsInPhase) `
46+
--outfile="${{ parameters.testAssembly }}.runsettings"
4747
displayName: Slice unit tests
4848
failOnStderr: true
4949

0 commit comments

Comments
 (0)