Mark Waite edited a comment on Bug JENKINS-25552

The message says:

Cannot run program "git": CreateProcess error=2, The system cannot find the file specified

That usually means the git program cannot be found by the Jenkins process. Since you say that Jenkins is configured to use git on Unix, I assume you do not have git installed on the windows master.

Since it works when started without polling, I assume the job is using the default of fast remote polling. That means the job attempts to execute the git program on the master to poll for changes, rather than requiring a workspace on the slave. The system cannot find the file specified probably indicates that the git program is not available on the master, but is available on the slave.

If that is the case, the work around is to add the "Advanced clone behaviour" and "Require workspace for polling". That will prevent the master server from performing the poll.

Another work around would be to install git on the windows master server and tell Jenkins where to find the Windows git installation.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to