I have Jenkins build server running on Ubuntu and configured a windows machine as slave. To compile .net code, I have created jenkins jobs to run specifically on this windows slave. On the windows machine (jenkins slave), I have installed GIT. Upon successfully creation of SSH public key and uploaded in AWS, I am able to clone the repository from the command line. But if I clone the same repo from the Jenkins job, I get the following error.
stderr: fatal: protocol error: bad line length character: logi
Here are my questions:
- Can Windows Server 2012 R2 be used as a Jenkins Slave?
- I logged in as 'jenkins' user however, I want to find out if I access the GIT (codecommit) as a Jenkins user?
I tried to find answers from various sources but could not find any lead. Any thoughts on this?