jenkins-cli
jenkins-cli copied to clipboard
jcli job log -w gets stuck
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:
-
jcli job build "myjob"
-
jcli job log -w "myjob"
- 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