Skip to content

Commit 6b02007

Browse files
authored
[release/7.0] Set MSBUILDLOGALLENVIRONMENTVARIABLES in most CI jobs (#43644)
- should affect most of our pipelines though not a few post-build jobs - as we saw in #43028, binary logs no longer include all environment variables by default - this change captures the environment variables not visibly referenced in our projects etc. - fix avoids a need to add the override later to debug an issue, at the cost of larger .binlog files
1 parent 6b05bc5 commit 6b02007

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.azure/pipelines/jobs/default-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ jobs:
155155
- LC_ALL: 'en_US.UTF-8'
156156
- LANG: 'en_US.UTF-8'
157157
- LANGUAGE: 'en_US.UTF-8'
158+
# Log environment variables in binary logs to ease debugging
159+
- MSBUILDLOGALLENVIRONMENTVARIABLES: true
158160
steps:
159161
- ${{ if ne(parameters.agentOs, 'Windows') }}:
160162
- script: df -h

0 commit comments

Comments
 (0)