Is there an alternative to a full checkout on the master to determine the merge result of a Jenkinsfile for PR merge builds in a multibranch project? Specifically using github. I'm finding the full checkout seems to strain the whole system when the master needs to check out a large repo ~15 times at once for my build. I understand the need for this behaviour as a default and that mine is an edge case.
Does github store the merge result in a hidden branch that can be leveraged? Or can Jenkins / the git plugin suites do some kind of double lightweight checkout trickery? Will have to switch to pr-head building for now :(