From 79ba64b0a61d4b114ab1aa1fe3bb5cd04ccabfab Mon Sep 17 00:00:00 2001 From: dbuechel Date: Thu, 7 Nov 2019 12:04:37 +0100 Subject: [PATCH] SEBWIN-344: Fixed robocopy return code for setup copy operation in release build server. --- appveyor-release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/appveyor-release.yml b/appveyor-release.yml index 617297bf..2b601453 100644 --- a/appveyor-release.yml +++ b/appveyor-release.yml @@ -28,6 +28,8 @@ for: - nuget restore after_build: - robocopy "Setup\bin\%PLATFORM%\%CONFIGURATION%" "%TEMP%" Setup.msi + if %ERRORLEVEL% geq 8 exit 1 + exit 0 - appveyor PushArtifact "Setup\bin\%PLATFORM%\%CONFIGURATION%\Setup.msi" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_%PLATFORM%_Setup.msi" -DeploymentName "SEB %APPVEYOR_BUILD_VERSION% Setup (%PLATFORM%)" - @@ -37,6 +39,8 @@ for: before_build: - nuget restore - robocopy "%TEMP%" "Setup\bin\x64\%CONFIGURATION%" Setup.msi /mov + if %ERRORLEVEL% geq 8 exit 1 + exit 0 after_build: - appveyor PushArtifact "Setup\bin\%PLATFORM%\%CONFIGURATION%\Setup.msi" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_%PLATFORM%_Setup.msi" -DeploymentName "SEB %APPVEYOR_BUILD_VERSION% Setup (%PLATFORM%)" - appveyor PushArtifact "SetupBundle\bin\%PLATFORM%\%CONFIGURATION%\SetupBundle.exe" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_SetupBundle.exe" -DeploymentName "SEB %APPVEYOR_BUILD_VERSION% Setup Bundle"