Shutdown build servers for each SB repo project (#15488)
This commit is contained in:
parent
bda2c1cc61
commit
6b841b4b66
2 changed files with 4 additions and 2 deletions
|
@ -37,8 +37,7 @@ while :; do
|
||||||
lowerI="$(echo $1 | awk '{print tolower($0)}')"
|
lowerI="$(echo $1 | awk '{print tolower($0)}')"
|
||||||
case $lowerI in
|
case $lowerI in
|
||||||
--clean-while-building)
|
--clean-while-building)
|
||||||
# TODO: Reenable with https://github.com/dotnet/source-build/issues/3233
|
MSBUILD_ARGUMENTS+=( "-p:CleanWhileBuilding=true")
|
||||||
# MSBUILD_ARGUMENTS+=( "-p:CleanWhileBuilding=true")
|
|
||||||
;;
|
;;
|
||||||
--online)
|
--online)
|
||||||
MSBUILD_ARGUMENTS+=( "-p:BuildWithOnlineSources=true")
|
MSBUILD_ARGUMENTS+=( "-p:BuildWithOnlineSources=true")
|
||||||
|
|
|
@ -271,6 +271,9 @@
|
||||||
DependsOnTargets="BuildRepoReferences"
|
DependsOnTargets="BuildRepoReferences"
|
||||||
Inputs="$(MSBuildProjectFullPath)"
|
Inputs="$(MSBuildProjectFullPath)"
|
||||||
Outputs="$(RepoCompletedSemaphorePath)Build.complete">
|
Outputs="$(RepoCompletedSemaphorePath)Build.complete">
|
||||||
|
|
||||||
|
<Exec Command="$(DOTNET_HOST_PATH) build-server shutdown" />
|
||||||
|
|
||||||
<Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Building $(ProjectBuildReason)" />
|
<Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Building $(ProjectBuildReason)" />
|
||||||
<Message Importance="High" Text="Running command:" />
|
<Message Importance="High" Text="Running command:" />
|
||||||
<Message Importance="High" Text=" $(BuildCommand) $(RepoApiArgs)" Condition="'$(BuildCommand)' != ''" />
|
<Message Importance="High" Text=" $(BuildCommand) $(RepoApiArgs)" Condition="'$(BuildCommand)' != ''" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue