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

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Galbraith <mattgal@microsoft.com>2017-06-01 08:43:37 +0300
committerMatt Galbraith <mattgal@microsoft.com>2017-06-01 08:43:37 +0300
commitfd6bae5b5500d51cb1255d277721ba836be14a24 (patch)
tree9b8ca4341b2d75b9e317581a9a78beb2a7de7f26 /buildpipeline
parentf912f36ca50b14482178aac0b6613529094daf6b (diff)
Fix error in Stop-Process usage.
Diffstat (limited to 'buildpipeline')
-rw-r--r--buildpipeline/DotNet-CoreFx-Trusted-Windows-NoTest.json2
-rw-r--r--buildpipeline/DotNet-CoreFx-Trusted-Windows.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/buildpipeline/DotNet-CoreFx-Trusted-Windows-NoTest.json b/buildpipeline/DotNet-CoreFx-Trusted-Windows-NoTest.json
index 37e1921359..046d550d8b 100644
--- a/buildpipeline/DotNet-CoreFx-Trusted-Windows-NoTest.json
+++ b/buildpipeline/DotNet-CoreFx-Trusted-Windows-NoTest.json
@@ -15,7 +15,7 @@
"scriptType": "inlineScript",
"scriptName": "",
"arguments": "-path $(build.SourcesDirectory)\\corefx",
- "inlineScript": "param($path)\n\nif (Test-Path $path){\n Stop-Process -processname msbuild\n Stop-Process -processname vbcscompiler\n # this will print out an error each time a file can't be deleted.\n Remove-Item -Recurse -Force $path\n }\n",
+ "inlineScript": "param($path)\n\nif (Test-Path $path){\n Stop-Process -processname msbuild -ErrorAction Ignore -Verbose\n Stop-Process -processname vbcscompiler -ErrorAction Ignore -Verbose\n # this will print out an error each time a file can't be deleted.\n Remove-Item -Recurse -Force $path\n }\n",
"workingFolder": "",
"failOnStandardError": "true"
}
diff --git a/buildpipeline/DotNet-CoreFx-Trusted-Windows.json b/buildpipeline/DotNet-CoreFx-Trusted-Windows.json
index e8395a82bd..8b37ceeba5 100644
--- a/buildpipeline/DotNet-CoreFx-Trusted-Windows.json
+++ b/buildpipeline/DotNet-CoreFx-Trusted-Windows.json
@@ -15,7 +15,7 @@
"scriptType": "inlineScript",
"scriptName": "",
"arguments": "-path $(build.SourcesDirectory)\\corefx",
- "inlineScript": "param($path)\n\nif (Test-Path $path){\n Stop-Process -processname msbuild\n Stop-Process -processname vbcscompiler\n # this will print out an error each time a file can't be deleted.\n Remove-Item -Recurse -Force $path\n }\n",
+ "inlineScript": "param($path)\n\nif (Test-Path $path){\n Stop-Process -processname msbuild -ErrorAction Ignore -Verbose\n Stop-Process -processname vbcscompiler -ErrorAction Ignore -Verbose\n # this will print out an error each time a file can't be deleted.\n Remove-Item -Recurse -Force $path\n }\n",
"workingFolder": "",
"failOnStandardError": "true"
}