How do I build on specific commit in Git on Jenkins?
Well I think instead of hacking the build config to point to a specific commit hash, it would be better to just create a new branch, that points to the commit you want to build. If you have a correctly configured Multibranch Pipeline Build, Jenkins should discover and build your commit/branch automatically.
Alternatively you could also use a tag instead of a branch. But in this case you need to add the "Discover tags" Behaviour to your Branch Source Config.