summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-03-20 23:28:45 -0700
committerTim Smith <tsmith84@gmail.com>2020-03-20 23:28:45 -0700
commit3a25a58ad9198d37854829ead5892f251e70eccd (patch)
treeeea64837320a3734be56dceabafcb0595cd7b9b9
parentb3509511cde8822693e86c98f9834e0508630f20 (diff)
downloadchef-3a25a58ad9198d37854829ead5892f251e70eccd.tar.gz
If we can't remove the Ruby installer in windows tests that's coolfail_less_windows
We're failing a lot when we try to remove this file. Just move on with life. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--scripts/bk_tests/bk_win_functional.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bk_tests/bk_win_functional.ps1 b/scripts/bk_tests/bk_win_functional.ps1
index 6bf33650ab..bcb6b116c8 100644
--- a/scripts/bk_tests/bk_win_functional.ps1
+++ b/scripts/bk_tests/bk_win_functional.ps1
@@ -15,7 +15,7 @@ echo "Installing Ruby + DevKit"
Start-Process c:\rubyinstaller-devkit-2.6.5-1-x64.exe -ArgumentList '/verysilent /dir=C:\\ruby26' -Wait
echo "Cleaning up installation"
-Remove-Item c:\rubyinstaller-devkit-2.6.5-1-x64.exe -Force
+Remove-Item c:\rubyinstaller-devkit-2.6.5-1-x64.exe -Force -ErrorAction SilentlyContinue
echo "Closing out the layer (this can take awhile)"
# Set-Item -Path Env:Path -Value to include ruby26