Jenkins “Console Output” log location in filesystem

后端 未结 8 2407
自闭症患者
自闭症患者 2020-12-13 12:56

I want to access and grep Jenkins Console Output as a post build step in the same job that creates this output. Redirecting logs with >> log.txt is not a

8条回答
  •  时光说笑
    2020-12-13 13:15

    For very large output logs it could be difficult to open (network delay, scrolling). This is the solution I'm using to check big log files:

        https://${URL}/jenkins/job/${jobName}/${buildNumber}/
    

    in the left column you see: View as plain text. Do a right mouse click on it and choose save links as. Now you can save your big log as .txt file. Open it with notepad++ and you can go through your logs easily without network delays during scrolling.

提交回复
热议问题