Skip to content

Commit bce9b53

Browse files
authored
Publish bin/msbuild-debug dir in CI (#836)
MSBuild says it's saving diagnostic info here when 'Child node "2" exited prematurely' errors happen in CI. Save the directory to allow devs to hunt down flakiness.
1 parent a8ca959 commit bce9b53

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.vsts.pipelines/jobs/ci-linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ jobs:
146146
mkdir -p /logs/source-build/logs
147147
find . \( \
148148
-path './bin/*-report/*' -o \
149+
-path './bin/msbuild-debug/*' -o \
149150
-iname '*.binlog' -o \
150151
-iname '*.log' \) \
151152
-exec cp {} --parents /logs/source-build/logs \;"
@@ -159,6 +160,7 @@ jobs:
159160
cd \"$(tarballName)\"
160161
find . \( \
161162
-path './bin/*-report/*' -o \
163+
-path './bin/msbuild-debug/*' -o \
162164
-iname '*.binlog' -o \
163165
-iname '*.log' \) \
164166
-exec cp {} --parents /logs/tarball/logs \;"

.vsts.pipelines/jobs/ci-osx.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
mkdir -p "$(logsDirectory)"
6767
find . \( \
6868
-path './bin/*-report/*' -o \
69+
-path './bin/msbuild-debug/*' -o \
6970
-iname '*.binlog' -o \
7071
-iname '*.log' \) \
7172
-exec rsync -R {} "$(logsDirectory)" \;

0 commit comments

Comments
 (0)