diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-05-19 15:29:07 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-05-19 15:29:07 -0700 |
| commit | 04c0a3888dbc12c74196565cbbf9962383bf837c (patch) | |
| tree | 738a939493091f53f8c4b6c0f4fce5a34be5ffd4 /scripts | |
| parent | 610741ee9106f4e504d591cf56371a54decd2614 (diff) | |
| download | vcpkg-04c0a3888dbc12c74196565cbbf9962383bf837c.tar.gz vcpkg-04c0a3888dbc12c74196565cbbf9962383bf837c.zip | |
[vcpkg-internalCI] exit $? doesn't cause VSO to fail the build
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/internalCI.ps1 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/internalCI.ps1 b/scripts/internalCI.ps1 index bfcb93b35..881eb3eae 100644 --- a/scripts/internalCI.ps1 +++ b/scripts/internalCI.ps1 @@ -3,23 +3,23 @@ $ErrorActionPreference = "Stop" New-Item -type directory downloads -errorAction SilentlyContinue | Out-Null New-Item -type file downloads\AlwaysAllowDownloads -errorAction SilentlyContinue | Out-Null ./scripts/bootstrap.ps1 -if (-not $?) { exit $? } +if (-not $?) { throw $? } # Clear out any intermediate files from the previous build Get-ChildItem buildtrees/*/* | ? Name -ne "src" | Remove-Item -Recurse -Force # Purge any outdated packages ./vcpkg remove --outdated --recurse -if (-not $?) { exit $? } +if (-not $?) { throw $? } ./vcpkg.exe install azure-storage-cpp cpprestsdk:x64-windows-static cpprestsdk:x86-uwp -if (-not $?) { exit $? } +if (-not $?) { throw $? } ./vcpkg.exe install bond chakracore cryptopp zlib expat sdl2 curl sqlite3 libuv protobuf:x64-windows sfml opencv:x64-windows -if (-not $?) { exit $? } +if (-not $?) { throw $? } ./vcpkg.exe install opencv:x86-uwp boost:x86-uwp -if (-not $?) { exit $? } +if (-not $?) { throw $? } ./vcpkg.exe install folly:x64-windows -if (-not $?) { exit $? } +if (-not $?) { throw $? } |
