I’ve set up a buildserver running cruisecontrol.net that builds our game. Unfortunately, the output of the Unity build is written to some log file on the server. I’d like to redirect that output to the regular output stream so I can view the output in the log of cruisecontrol.
Any options to achieve this?
This has been solved by the peoples at Unity. I don’t know when they introduced this, but now you can specify the log file on the command line with the -logFile parameter. See the docs on this.
The build output will go to the regular Unity log file, whose location can be found here. I’m not aware of a way to capture the output as it’s generated (hmm, does a LogCallback work in batch mode?), but you could certainly get your build process to read the generated log file and spew it back to standard output after the build is complete.