问题
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