如何从 FinalBuilder 输出将被 TeamCity 捕获的消息?

发布于 2024-07-25 16:34:04 字数 384 浏览 5 评论 0原文

我正在运行 TeamCity Professional 4.5.3 和 FinalBuilder Pro 6; TeamCity 使用命令行任务运行 FinalBuilder 项目。

如何让 FinalBuilder 将消息打印到构建日志中,以便 TeamCity 捕获它们? TeamCity 文档足够清楚,但我可以找不到任何方法从 FinalBuilder 输出所需的值 - 我是否需要将 echo 作为 DOS 命令调用,或者运行一小段脚本,或者其他什么?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

∞琼窗梦回ˉ 2024-08-01 16:34:04

使用运行脚本操作 (Javascript):

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

Use the Run Script action (Javascript) :

Action.SendLogMessage("hello team city",stInformation);
一生独一 2024-08-01 16:34:04

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

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文