jenkins-cli icon indicating copy to clipboard operation
jenkins-cli copied to clipboard

jcli job log -w gets stuck

Open natsen opened this issue 3 years ago • 0 comments

Describe the bug jcli job log -w watches for last build and starts tailing the latest build log when the build has started but does not tail the entire log. It tails the first few lines of the log and then gets stuck - no more output is printed and the command doesn't get terminated.

once it is stuck. Terminating the command and running jcli job log full log of lastbuild as expected.

To Reproduce Steps to reproduce the behavior:

  1. jcli job build "myjob"
  2. jcli job log -w "myjob"
  3. Observe the log starting to tail when the build started but gets stuck after few lines

Expected behavior jcli job build "myjob" should tail the entire build until it is complete.

Desktop (please complete the following information):

  • OS: Linux
  • Version
  • Version: 0.0.38 Last Commit: a99158f Build Date: 2021-09-22T01:54:03Z

natsen avatar Jan 28 '22 20:01 natsen