java.lang.NoClassDefFoundError: Could not initialize class hudson.util.ProcessTree$UnixReflection java.lang.NoClassDefFoundError: Could not initialize class hudson.util.ProcessTree$UnixReflection jenkins jenkins

java.lang.NoClassDefFoundError: Could not initialize class hudson.util.ProcessTree$UnixReflection


We fixed it by reducing jenkins stdout/stderr output. Just redirect called commands' output to files and try again.

It is just a workaround until Jenkins team fix it but it works pretty well for us.