Jenkins console output not in realtime

后端 未结 9 1174
失恋的感觉
失恋的感觉 2020-12-13 06:14

Pretty new to Jenkins and I have simple yet annoying problem. When I run job (Build) on Jenkins I am triggering ruby command to execute my test script.

Problem is Je

9条回答
  •  别那么骄傲
    2020-12-13 07:01

    Python buffered its output traces and print it at the end of script to minimize writing on console as writing to console is slow.

    You can use following command after your traces. It will flush all traces to console, which are queued before that command.

    sys.stdout.flush()

提交回复
热议问题