Display log file in Jenkins

醉酒当歌 提交于 2019-12-13 22:36:09

问题


I need to display a log file (which is present in a test machine), in the console output of a Jenkins job that I run.
Is that possible? If yes, how can I do that?


回答1:


Select execute Windows batch command or Execute Shell based on your requirement

then use "cat log.file" (linux) "type log.file" (windows) to display



来源:https://stackoverflow.com/questions/31470472/display-log-file-in-jenkins

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