I have the same issue. There are no git.exe processes running (I'm assuming that the polling would have to run on the master, that's what I checked). git.exe will show up in the task manager, but quickly disappear. When this happens, it is intermittent. Is it possible that Jenkins is trying to use the same file for multiple jobs or something? I tried installing the File Leak Detector plug-in, but got this error when I tried to activate:

javax.servlet.ServletException: java.lang.Error: Failed to activate file leak detector: Connecting to 0
Exception in thread "main" java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.kohsuke.file_leak_detector.Main.run(Main.java:50)
	at org.kohsuke.file_leak_detector.Main.main(Main.java:35)
Caused by: java.io.IOException: no such process
	at sun.tools.attach.WindowsVirtualMachine.openProcess(Native Method)
	at sun.tools.attach.WindowsVirtualMachine.<init>(WindowsVirtualMachine.java:56)
	at sun.tools.attach.WindowsAttachProvider.attachVirtualMachine(WindowsAttachProvider.java:69)
	at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213)
	... 6 more

It probably also noteworthy that I'm using this with the Stash Webhooks to Jenkins plug-in (https://marketplace.atlassian.com/plugins/com.nerdwin15.stash-stash-webhook-jenkins). That plug-in will trigger Jenkins to check for branches to build and I have several Jenkins jobs, one job for each development branch (plus several jobs for the master).

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