-->

How can I output messages from FinalBuilder that w

2019-05-03 10:10发布

问题:

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?

回答1:

Use the Run Script action (Javascript) :

Action.SendLogMessage("hello team city",stInformation);


回答2:

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