1 @REM The MIT License (MIT)
2 @REM Copyright (c) Microsoft Corporation
4 @REM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
5 @REM associated documentation files (the "Software"), to deal in the Software without restriction,
6 @REM including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
7 @REM and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
8 @REM subject to the following conditions:
10 @REM The above copyright notice and this permission notice shall be included in all copies or substantial
11 @REM portions of the Software.
13 @REM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
14 @REM NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
15 @REM IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
16 @REM WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
17 @REM SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19 @if not defined _echo echo off
20 setlocal enabledelayedexpansion
23 if "%ERRORLEVEL%"=="3010" (
26 if not "%ERRORLEVEL%"=="0" (
28 if "%CI_PROJECT_PATH%"=="" (
29 call C:\TEMP\collect.exe -zip:C:\vslogs.zip
31 call C:\TEMP\collect.exe -zip:%CI_PROJECT_PATH%\vslogs.zip