I’m facing this issue when trying to build in jenkins
‘Missing commit’ may indicate a Git problem.
My first try would be to delete the Jenkins workspace of this job and restart.
Many pipelines use the cleanWS() method to enforce a git clone for every build.
Also pipeline configuration / branch sources / behaviours / add ‘Check out to matching local branch’ helps.