We are observing a issue never encountered before when setting up a new multibranch pipeline and pointing it to git repository and Jenkinsfile within that.
Everything looks fine at first, the master branch is found and listed and the project successfully builds. But at a closer look, the Jenkinsfile gets retrieved from a very outdated revision, almost 2 years old.
The revision 'f10313a3d583e2a3e640e51cee42b259f456d919' that gets logged here in fact exists. But why did Jenkins return this old revision and not the latest one? And what exactly is Jenkins doing when "Fetching origin"?
Our version of Jenkins is 2.249.1 and we use Git plugin version 4.4.4