You should use the git.exe from the bin directory, not from the cmd
directory.
On Mar 31, 2014 11:08 AM, "S Day" <[email protected]> wrote:

> currently everything is building fine now after I shut down the multiple
> git, ssh and conhost .exe's.  however once it balloons up again I know i'm
> going to have that issue.
>
> The service account has full write access to that folder currently and
> that folder already exists so the reason it can't create the directory is
> because it's already there.
>
> I did lower the number of build executors so hopefully that will slow the
> mutiple exe's spawning too quickly.
>
> For my git configuration in jenkins I only have 2 parameters.
>
> NAME: (git)
> Path to git executable (C:\Program Files (x86)\Git\cmd\git.exe)
>
>
>
> On Mon, Mar 31, 2014 at 12:53 PM, Mark Waite <[email protected]>wrote:
>
>> I think the core problem is the "Could not create directory
>> c/Users/GitHubUserName/.ssh".  Somehow, there is a permissions problem
>> attempting to create that directory.
>>
>> As one guess, maybe you're running the Jenkins server on Windows as a
>> service, and the service user does not have permission to create that
>> directory?
>>
>> As another guess, maybe there is something incorrect in your git
>> configuration within Jenkins.  I expected "/c/Users/GitHubUserName" rather
>> than "c/Users/GitHubUserName/.ssh", since I assumed the path would be
>> absolute rather than relative.
>>
>> Mark Waite
>>
>>
>> On Mon, Mar 31, 2014 at 10:22 AM, S Day <[email protected]> wrote:
>>
>>> it sounds like this is on the right track...
>>>
>>> the problem we're having is when we have too many
>>> ssh,git.exe,andconhosts running we're unable to fetch from git
>>>
>>> Building on master in workspace J:\jobs\Jobname\workspace
>>> Fetching changes from the remote Git repository
>>> Fetching upstream changes from ssh://[email protected]/Name/Jobname.git
>>> ERROR: Timeout after 10 minutes
>>> FATAL: Failed to fetch from ssh://
>>> [email protected]/Name/SiriusDecisions.git
>>> hudson.plugins.git.GitException: Failed to fetch from ssh://
>>> [email protected]/Name/JobName.git
>>>  at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:621)
>>> at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:853)
>>>  at hudson.plugins.git.GitSCM.checkout(GitSCM.java:878)
>>> at hudson.model.AbstractProject.checkout(AbstractProject.java:1411)
>>>  at
>>> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
>>> at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
>>>  at
>>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)
>>> at hudson.model.Run.execute(Run.java:1665)
>>>  at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>>> at hudson.model.ResourceController.execute(ResourceController.java:88)
>>>  at hudson.model.Executor.run(Executor.java:246)
>>> Caused by: hudson.plugins.git.GitException: Command "git fetch --tags
>>> --progress 
>>> ssh://[email protected]/Name/JobName.git+refs/heads/*:refs/remotes/origin/*" 
>>> returned status code 128:
>>> stdout:
>>> stderr: Could not create directory 'c/Users/GithubUserName/.ssh'.
>>> fatal: Could not read from remote repository.
>>>
>>> Please make sure you have the correct access rights
>>> and the repository exists.
>>>
>>> at
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1192)
>>> at
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1062)
>>>  at
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:89)
>>> at
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:222)
>>>  at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:619)
>>> ... 10 more
>>>
>>>
>>> however, that article is not very clear, where do I use that curl
>>> command?
>>>
>>>
>>> On Friday, March 28, 2014 2:12:38 PM UTC-4, S Day wrote:
>>>>
>>>> I was wondering if you had a few minutes to check out this problem I
>>>> seem to be experiencing with the Jenkings Github plugin..
>>>>
>>>>  As you can see I have many instances of git.exe running however...
>>>>
>>>>  I have nothing building, nothing pulling from git, or anything
>>>>
>>>>  It appears nothing is closing gracefully, is this a known issue or how
>>>> the software is supposed to run or something wrong with my Jenkins
>>>> configuration.
>>>>
>>>>  Thanks for taking the time to read this
>>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Thanks!
>> Mark Waite
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Jenkins Users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/jenkinsci-users/38yQEn4izNM/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to