Skip to content

Commit d1d1a94

Browse files
committed
fix never ending interactive console mode
1 parent 20fa41e commit d1d1a94

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

jenkins-cli/jenkins_cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ def console(self, args):
160160
if new_line_num > last_line_num:
161161
print "\n".join(console_out[last_line_num:])
162162
last_line_num = new_line_num
163-
time.sleep(2)
163+
time.sleep(3)
164+
build_info = self.jenkins.get_build_info(job_name, build_number)
164165

165166
def building(self, args):
166167
args.d = False

0 commit comments

Comments
 (0)