Encountering issue whereby Jenkins is condensing logs

Viewed 12

Am encountering this issue whereby Jenkins oddly condenses the logs and misses several logs.

Actual log:

2022-06-07 18:44:18.781723+0800 Tests-Runner[97387:8259322] [ABC] This is a log senAnd a third log

Expected log:

2022-06-07 18:44:18.781723+0800 Tests-Runner[97387:8259322] [ABC] This is a log sentence
2022-06-07 18:44:18.781723+0800 Tests-Runner[97387:8259322] [ABC] Here is another log
2022-06-07 18:44:18.781723+0800 Tests-Runner[97387:8259322] [ABC] And a third log

We use a multibranch pipeline but so far I have not found any reason why this is occurring. It happens at random locations during each build. Is there a limit to the log size before Jenkins starts to condense the logs?

Running the same commands on CLI do not result in such issues and logs appear as expected.

0 Answers
Related