Add raw build trace output
Closes#15308, #15147
Changes in the UI:
- on finished build:

- on running build:

See merge request !3767