Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Luo <johluo@microsoft.com>2019-06-13 22:48:23 +0300
committerGitHub <noreply@github.com>2019-06-13 22:48:23 +0300
commit3707e1a83243394dbb3f576fcf185b462303ab15 (patch)
treeeb5528eac4e058b56ac741daca92c61c488b3661 /restore.cmd
parentb0be780f1b98db4c7d468f5167b6a439abf2f1b5 (diff)
Clean up background processes on CI builds (#11151)
Addresses issues where background Java processes causes builds to hang. Added diagnostics to capture running processes on CI builds.
Diffstat (limited to 'restore.cmd')
-rw-r--r--restore.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/restore.cmd b/restore.cmd
index 5e09500d3e..26e2fe2f21 100644
--- a/restore.cmd
+++ b/restore.cmd
@@ -1,3 +1,3 @@
@ECHO OFF
SETLOCAL
-PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0build.ps1' -all -nobuild -restore %*; exit $LASTEXITCODE"
+PowerShell -NoProfile -NoLogo -ExecutionPolicy ByPass -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0build.ps1' -all -nobuild -restore %*; exit $LASTEXITCODE"