git install on jenkins slaves git install on jenkins slaves jenkins jenkins

git install on jenkins slaves


Basically, you need to check if which git returns something (which git.exe on Windows, provided you have installed GoW -- Gnu on Windows -- commands).

If which fails, then see "Set Up Your Git Environment"

On Linux:

sudo yum install git-core       # RedHatsudo apt-get install git-core   # Ubuntu

On Windows:

Download and untar the portable version of msysgit.
You can script it, using the curl command included in Gow, but for uncompressing a 7z archive, you might need Peazip installed (it also comes as a portable installation, a simple zip archive).