Index: scripts/jenkins/_get-output-dir.bat =================================================================== diff -u -N -rac285315e87e34ee789a46505ac4f32c0df8dd39 -rd623b2eb18154a46623c3f7b3007f84a049904ea --- scripts/jenkins/_get-output-dir.bat (.../_get-output-dir.bat) (revision ac285315e87e34ee789a46505ac4f32c0df8dd39) +++ scripts/jenkins/_get-output-dir.bat (.../_get-output-dir.bat) (revision d623b2eb18154a46623c3f7b3007f84a049904ea) @@ -3,9 +3,11 @@ call "%WORKSPACE%\scripts\jenkins\_get-version.bat" || exit /b 1 if "%CHDetailVersion%" == "0" ( - SET OutDir="%WORKSPACE%\Output\%CHTextVersion%" + SET "OutDir=%WORKSPACE%\Output\%CHTextVersion%" ) else ( - SET OutDir="%WORKSPACE%\Output\internal\%CHTextVersion%" + SET "OutDir=%WORKSPACE%\Output\internal\%CHTextVersion%" ) +echo "Detected output directory: %OutDir%" + mkdir "%OutDir%" || exit /b 0