Re: Cygpath Cygwin Git

2012-12-19 Thread Ryan Lovelett
Xavier that was the solution. Thank you.

On Tuesday, December 4, 2012 5:25:05 PM UTC-6, Xavier Nodet wrote:
>
> Do you have the Cygwin DLLs in your path?
>
> They need to be available to the program, and they will be looked for by 
> the system in the path or in the location of the program you run. When you 
> run a program from .../cygwin/bin without the path being set, it's fine 
> because the DLLs are at the same place, but here you try to run git from 
> .../cygwin/usr/local/bin, a location that doesn't have the DLLs...
>
> Le mercredi 28 novembre 2012, Ryan Lovelett a écrit :
>
>> It returns the same status code.
>>
>> On Wednesday, November 28, 2012 4:23:21 PM UTC-6, Urivan Flores wrote:
>>>
>>> Maybe too obvious but did you try to double backslash? Otherwise it will 
>>> take it as a scape sequences.
>>>
>>> Regards,
>>>
>>> -Urivan
>>> On Nov 28, 2012 2:00 PM, "Ryan Lovelett"  wrote:
>>>
>>>> I would have thought that through the use of the Cygpath plugin my 
>>>> Windows system I would be able to use the Cygwin installed git.
>>>>
>>>> I know that the git executable is installed:
>>>>
>>>>  [Ryan@Windows /cygdrive/c/Projects]
>>>> $ cygpath -C ANSI -w `which git`
>>>> C:\cygwin\usr\local\bin\git
>>>>
>>>> I have provided the Tool Location for the Windows node: 
>>>> /user/local/bin/git
>>>>
>>>> This provides an error. I have the full error if it is relavant. But I 
>>>> think these two errors say everything necessary.
>>>>
>>>> Error trying to determine the git version: Error performing command: 
>>>> /user/local/bin/git --version
>>>> ...
>>>> Caused by: java.io.IOException: Cannot run program 
>>>> "/user/local/bin/git": CreateProcess error=2, The system cannot find the 
>>>> file specified
>>>>
>>>> So I said to heck with Cygpath; I will just provide the full executable 
>>>> from Windows (e.g., C:\cygwin\usr\local\bin\git) in the Tool Location 
>>>> for the Windows node. Which led to this error
>>>>
>>>> Error trying to determine the git version: Command 
>>>> "C:\cygwin\usr\local\bin\git --version" returned status code -1073741515:
>>>> ...
>>>> Caused by: hudson.plugins.git.**GitException: Command 
>>>> "C:\cygwin\usr\local\bin\git clone -o origin g...@our-git-repo.com:testing.
>>>> **git C:\jenkins\workspace\Git Clone\label\Windows" returned status 
>>>> code -1073741515:
>>>>
>>>> These errors have to do with the Cygwin environment not being loaded. I 
>>>> am not sure what to do about that.
>>>>
>>>> Suggestions?
>>>>
>>>
>
> -- 
> Xavier Nodet
>
>

Re: Cygpath Cygwin Git

2012-11-28 Thread Ryan Lovelett
It returns the same status code.

On Wednesday, November 28, 2012 4:23:21 PM UTC-6, Urivan Flores wrote:
>
> Maybe too obvious but did you try to double backslash? Otherwise it will 
> take it as a scape sequences.
>
> Regards,
>
> -Urivan
> On Nov 28, 2012 2:00 PM, "Ryan Lovelett" > 
> wrote:
>
>> I would have thought that through the use of the Cygpath plugin my 
>> Windows system I would be able to use the Cygwin installed git.
>>
>> I know that the git executable is installed:
>>
>> [Ryan@Windows /cygdrive/c/Projects]
>> $ cygpath -C ANSI -w `which git`
>> C:\cygwin\usr\local\bin\git
>>
>> I have provided the Tool Location for the Windows node: 
>> /user/local/bin/git
>>
>> This provides an error. I have the full error if it is relavant. But I 
>> think these two errors say everything necessary.
>>
>> Error trying to determine the git version: Error performing command: 
>> /user/local/bin/git --version
>> ...
>> Caused by: java.io.IOException: Cannot run program "/user/local/bin/git": 
>> CreateProcess error=2, The system cannot find the file specified
>>
>> So I said to heck with Cygpath; I will just provide the full executable 
>> from Windows (e.g., C:\cygwin\usr\local\bin\git) in the Tool Location 
>> for the Windows node. Which led to this error
>>
>> Error trying to determine the git version: Command 
>> "C:\cygwin\usr\local\bin\git --version" returned status code -1073741515:
>> ...
>> Caused by: hudson.plugins.git.GitException: Command 
>> "C:\cygwin\usr\local\bin\git clone -o origin 
>> g...@our-git-repo.com:testing.git C:\jenkins\workspace\Git 
>> Clone\label\Windows" returned status code -1073741515:
>>
>> These errors have to do with the Cygwin environment not being loaded. I 
>> am not sure what to do about that.
>>
>> Suggestions?
>>
>

Re: Cygpath Cygwin Git

2012-11-28 Thread Ryan Lovelett
Caused by: java.io.IOException: Cannot run program 
"/cygdrive/c/usr/local/bin/git": CreateProcess error=2, The system cannot 
find the file specified

On Wednesday, November 28, 2012 4:18:23 PM UTC-6, William Soula wrote:
>
>  Possibly /cygdrive/c/usr/local/bin/git for the path instead of 
> /usr/local/bin/git.  Just my thoughts, I dont know beyond that.
>
> Will
>  --
> *From:* jenkins...@googlegroups.com  [
> jenkins...@googlegroups.com ] on behalf of Ryan Lovelett [
> ryan.l...@gmail.com ]
> *Sent:* Wednesday, November 28, 2012 4:00 PM
> *To:* jenkins...@googlegroups.com 
> *Subject:* Cygpath Cygwin Git
>
>  I would have thought that through the use of the Cygpath plugin my 
> Windows system I would be able to use the Cygwin installed git. 
>
>  I know that the git executable is installed:
>
>  [Ryan@Windows /cygdrive/c/Projects]
> $ cygpath -C ANSI -w `which git`
> C:\cygwin\usr\local\bin\git
>  
>  I have provided the Tool Location for the Windows node: 
> /user/local/bin/git
>
>  This provides an error. I have the full error if it is relavant. But I 
> think these two errors say everything necessary.
>
>  Error trying to determine the git version: Error performing command: 
> /user/local/bin/git --version
>  ...
> Caused by: java.io.IOException: Cannot run program "/user/local/bin/git": 
> CreateProcess error=2, The system cannot find the file specified
>  
>  So I said to heck with Cygpath; I will just provide the full executable 
> from Windows (e.g., C:\cygwin\usr\local\bin\git) in the Tool Location for 
> the Windows node. Which led to this error
>
>  Error trying to determine the git version: Command 
> "C:\cygwin\usr\local\bin\git --version" returned status code -1073741515:
>  ...
> Caused by: hudson.plugins.git.GitException: Command 
> "C:\cygwin\usr\local\bin\git clone -o origin 
> g...@our-git-repo.com:testing.git C:\jenkins\workspace\Git 
> Clone\label\Windows" returned status code -1073741515:
>  
>  These errors have to do with the Cygwin environment not being loaded. I 
> am not sure what to do about that.
>
>  Suggestions?
>   


Cygpath Cygwin Git

2012-11-28 Thread Ryan Lovelett
I would have thought that through the use of the Cygpath plugin my Windows 
system I would be able to use the Cygwin installed git.

I know that the git executable is installed:

[Ryan@Windows /cygdrive/c/Projects]
$ cygpath -C ANSI -w `which git`
C:\cygwin\usr\local\bin\git

I have provided the Tool Location for the Windows node: /user/local/bin/git

This provides an error. I have the full error if it is relavant. But I 
think these two errors say everything necessary.

Error trying to determine the git version: Error performing command: 
/user/local/bin/git --version
...
Caused by: java.io.IOException: Cannot run program "/user/local/bin/git": 
CreateProcess error=2, The system cannot find the file specified

So I said to heck with Cygpath; I will just provide the full executable 
from Windows (e.g., C:\cygwin\usr\local\bin\git) in the Tool Location for 
the Windows node. Which led to this error

Error trying to determine the git version: Command 
"C:\cygwin\usr\local\bin\git --version" returned status code -1073741515:
...
Caused by: hudson.plugins.git.GitException: Command 
"C:\cygwin\usr\local\bin\git clone -o origin 
g...@our-git-repo.com:testing.git C:\jenkins\workspace\Git 
Clone\label\Windows" returned status code -1073741515:

These errors have to do with the Cygwin environment not being loaded. I am 
not sure what to do about that.

Suggestions?