

But now the permissions are unsufficient. There is an option on the node to specify Git Tool location. Other people had the same issues, and only got this answer, but it just does not work. Obviously the Jenkins java SSH connection does not find git on my mac.īut why? Yes the execution context seems to be different, not the same PATH.But adding the PATH to the node's ENV did not work. > git init /Users/jenkins/workspace/helloworld # timeout=10ĮRROR: Error cloning remote repo 'origin' Choose an option in the dialog to download the command line developer tools.Īt .CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2430)Īt .CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2360)Īt .CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2356)Īt .CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1916)Īt .CliGitAPIImpl$5.execute(CliGitAPIImpl.java:988)

Stderr: xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Jenkins building a simple hello world app fails with this command Caused by: : Command "git init /Users/jenkins/workspace/helloworld" returned status code 1:
