[TIMOB-18074] Fixed bug where the build directory may not exist and needs to be created before writing the build log file.
Merge pull request #6379 from cb1kenobi/timob-18074

[TIMOB-18074] Fixed bug where the build directory may not exist and need...