在 Jenkins 中显示日志文件

Display log file in Jenkins

我需要在我 运行 的 Jenkins 作业的 控制台输出 中显示日志文件(存在于测试机器中)。
那可能吗? 如果是,我该怎么做?

Select 执行 Windows 批处理命令或根据您的要求执行 Shell

然后使用 "cat log.file" (linux) "type log.file" (windows) 显示