Use MSBuildDisableNodeReuse=1 in official builds (#5027)
This commit is contained in:
Родитель
91afac718f
Коммит
3de8cf726c
|
@ -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')) }}:
|
||||
|
|
Загрузка…
Ссылка в новой задаче