Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I output messages from FinalBuilder that will be captured by TeamCity?

I'm running TeamCity Professional 4.5.3 and FinalBuilder Pro 6; TeamCity's running the FinalBuilder project using a command-line task.

How do I get FinalBuilder to print messages into the build log, so that TeamCity will capture them? The TeamCity documentation is clear enough but I can't find any way to output the required values from FinalBuilder - do I need to call echo as a DOS command, or run a tiny snippet of script, or something?

like image 384
Dylan Beattie Avatar asked Jun 18 '09 00:06

Dylan Beattie


2 Answers

Use the Run Script action (Javascript) :

Action.SendLogMessage("hello team city",stInformation);
like image 163
Vincent Parrett Avatar answered Sep 20 '22 16:09

Vincent Parrett


Action.SendLogMessage("Hello World!",stInformation)

like image 27
Chris McCall Avatar answered Sep 20 '22 16:09

Chris McCall