How is a custom build of a core plugin deployed?
Steps to deploy a custom build of a core plugin:
Copy the .hpi file to $JENKINS_HOME/plugins
Remove the plugin's development directory
Create an empty file called <plugin>.hpi.pinned
Restart Jenkins and use your custom build of a core plugin