java.lang.IllegalStateException: There is no body to invoke
with a Jenkins Pipeline that I was executing; this Pipeline executes whenever one commits new code into a GitHub Enterprise (GHE) repository, with a Pull Request.
To debug this further, I created a dummy GHE repository with a corresponding Jenkinsfile, and a new Jenkins pipeline.
This allowed me to
Without wishing to give away the plot, I'll TL;DR; and say that the problem was ME ( quelle surprise ).
Here's my initial Jenkinsfile: -
def givenName = "Dave"
def familyName = "Hay"
echo "Doing it"