[RJA-2245][fix]: Make build providers stateless.

Fix build step logs: write logs while build is in progress.