Skip to content
代码片段 群组 项目
未验证 提交 6b02007f 编辑于 作者: Doug Bunting's avatar Doug Bunting 提交者: GitHub
浏览文件

[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
上级 6b05bc55
No related branches found
No related tags found
无相关合并请求
...@@ -155,6 +155,8 @@ jobs: ...@@ -155,6 +155,8 @@ jobs:
- LC_ALL: 'en_US.UTF-8' - LC_ALL: 'en_US.UTF-8'
- LANG: 'en_US.UTF-8' - LANG: 'en_US.UTF-8'
- LANGUAGE: 'en_US.UTF-8' - LANGUAGE: 'en_US.UTF-8'
# Log environment variables in binary logs to ease debugging
- MSBUILDLOGALLENVIRONMENTVARIABLES: true
steps: steps:
- ${{ if ne(parameters.agentOs, 'Windows') }}: - ${{ if ne(parameters.agentOs, 'Windows') }}:
- script: df -h - script: df -h
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册