Closed mig42 closed 3 years ago
This change is broken. It should not have been merged.
It works only if executing a build on Jenkins master
node. It will give NullPointerException
if build job is executed on any Jenkins Agent node. The reason will be missing XML file.
Suggesting to revert this change completely.
Oh my, I'll have a look at it next morning to have it fixed ASAP. Since this doesn't hit users because it's not released, we don't need to disintegrate the PR.
Fix XML parser issues with really long XML streams.
We noticed that the output of commands
cm log
orcm find
could choke the parser if the stream got too long (like 50 MiB).This PR will take advantage of the Plastic CLI arguments to make the commands write the XML output directly to a file instead of stdout. This way the parser can process files on its own, without worrying about overflowing the process buffers.