The git plugin is a dependency for the Jenkins Artifactory Plugin. When the user removes the git plugin from the Jenkins, ClassNotFoundException may be thrown during the publish Build Info step.
Stack Overflow
https://stackoverflow.com/questions/44884746/pushing-to-artifactory-using-jenkins-pipeline