Friday, January 18, 2019

#Throwback: A batch script to clone or update Project from a Git repository

Background:The use-case behind this was that we could not checkout our project from Git repository in Jenkins for reasons I could not remember. I'm just publishing this here as an archive for future reference in case I encounter something of the same nature. https://github.com/elogs/jenkins/blob/master/batch/gitCloneOrPull.bat There should be curl in the system to verify the URLs...