Related Issue JENKINS-38576
When GitHub is triggering Jenkins Job with large payload. The git checkout on an linux Jenkins node dose not work as expected.
The following pipeline test script works fine when started with the default payload.
But when you run it with a large payload parameter it is not working. The checkout command on an Centos 7 Linux node fails.
Even the workaround "delete payload environment variable is not working"
With this information the error should be easily reproducible.
For an example of a problematic payload see the Attached file ProblematicPayload.txt.
One problematic payload is a 176223 bytes long json string.