Is it possible to use parameters to allow users to pass a git sha to a multi branch pipeline while defaulting to the head of the branch? Also I would only need to this function for the master branch.

I'm using ...  

Jenkinsfile in code  

Jenkins Declarative Pipeline