Use MSBuildDisableNodeReuse=1 in official builds (#5027)

This commit is contained in:
Davis Goodin 2019-01-22 20:09:58 -06:00 коммит произвёл GitHub
Родитель 91afac718f
Коммит 3de8cf726c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 15 добавлений и 0 удалений

Просмотреть файл

@ -98,6 +98,11 @@ jobs:
/p:UsePrebuiltPortableBinariesForInstallers=true
/p:SharedFrameworkPublishDir=/root/sharedFrameworkPublish/
$(CommonMSBuildArgs)
# Disable MSBuild node reuse in case this build is running on a persistent agent.
# Use environment variable rather than /nr:false to make sure internal Execs that run MSBuild
# commands also disable node reuse.
MSBUILDDISABLENODEREUSE: 1
steps:
- script: df -h

Просмотреть файл

@ -41,6 +41,11 @@ jobs:
timeoutInMinutes: 120
variables:
_PublishType: ${{ parameters._PublishType}}
# Disable MSBuild node reuse in case this build is running on a persistent agent.
# Use environment variable rather than /nr:false to make sure internal Execs that run MSBuild
# commands also disable node reuse.
MSBUILDDISABLENODEREUSE: 1
steps:
# Initialize tooling

Просмотреть файл

@ -32,6 +32,11 @@ jobs:
/p:StabilizePackageVersion=$(IsStable)
/nr:false"
MsbuildSigningArguments: /p:CertificateId=400 /v:detailed /p:SignType=$(SignType)
# Disable MSBuild node reuse in case this build is running on a persistent agent.
# Use environment variable rather than /nr:false to make sure internal Execs that run MSBuild
# commands also disable node reuse.
MSBUILDDISABLENODEREUSE: 1
steps:
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: