We have noticed buffering issues for checkout scm command.
This is our workflow
The expected output would be
But seems that the checkout command's output is slower than the execution of the next command and we experience buffering issues when both commands' output is messed up.
And we get something like this
As you can see, a part of checkout output got into sh step.