Mark Waite commented 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 it is failing on the slave, then it probably means that the PATH does not include the directory where the git binary is located.

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.

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