Let's say I have a couple of VS solutions that I build using FB (Nightly builds), specifically with the Action "Build VS.Net Solution" (MSBuild option is not checked). At the end when all the solutions are done building I save the result log to a HTML file using the action "Export log to file". When there are errors in the build process they are logged in the HTML file, and I can see the details of each failed solution build when I expand the link for that one. But I also want to include all the Warnings from the solution build as well! Which I wasn't able to do even if I have already checked the "Warnings" logging in FB Options(FinalBuilder->Logging->ShowActionMessages) and checked all the options in the "Export log to file" action.
I'm almost 100% sure that there is a simple way to log all the warnings since I can see them in yellow when I activate the Live logging or when I run my script with the FB console.
Actually what I’m exactly looking for is to create a HTML log file which contains entries (lines) of each solution that build with Warnings, just like the log I’m getting now but which unfortunately has only entries (lines) of the solutions that failed due to compilation Errors.
It’s not possible at the moment, you can only export the entire log or only actions that failed. We’ll add it to the todo list, but I cannot provide any estimates as to when it will be implemented (there’s a lot on the list).
You are right about the “Only Include Error Actions”, I checked it. But when I unchecked this option all the succeeded build are also added to the exported Log (solution entries with the Status “Completed” in green), which I don’t wont to have in my log (I only need to see warnings and errors).
For the moment I manually parse the *.log files from the Visual Studio build to detect warnings. But it would really be a very nice feature to add.