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

霸气de小男生 提交于 2019-12-22 06:49:20

问题


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)



来源:https://stackoverflow.com/questions/1010182/how-can-i-output-messages-from-finalbuilder-that-will-be-captured-by-teamcity

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!