History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2674
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Marko Milanovic
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

git: error=2, No such file or directory

Created: 23/Mar/16 03:14 PM   Updated: 24/Mar/16 12:27 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
When running a scheduled run of a build configuration, the tool reports:
java.io.IOException: Cannot run program "git" (in directory "/home/builder/buildagent/workspace/188960/Skype.Sms.Azure"): error=2, No such file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
    at java.lang.Runtime.exec(Runtime.java:620)
    at java.lang.Runtime.exec(Runtime.java:450)
    at org.codehaus.groovy.runtime.DefaultGroovyMethods.execute(DefaultGroovyMethods.java:12370)
    at org.codehaus.groovy.runtime.DefaultGroovyMethods.execute(DefaultGroovyMethods.java:12393)
    at org.codehaus.groovy.runtime.dgm$231.invoke(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
    at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)

However, when run manually, the build proceeds with no issues.

Is there a reason for this to be happening?

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [24/Mar/16 12:27 AM]
This normally means that the OS user running QB agent can not find git binary. Please check if its path is included in the system path of the build agent throwing this error.