That's all the logging there is from the git plugin.  The console log is
usually sufficiently verbose to provide everything I need for problem
diagnosis.

If you execute those commands from a job on the slave, do you see the same
results?

If you create a job that runs on the slave which only performs a "git clone
https://localgitserveir/git/AXP.git";, does it fail with the same message?

If you create a job that runs on the slave and performs "git init;git
config remote.origin.url https://localgitserveir/git/AXP.git;git fetch
origin;git checkout -f origin/master", does it fail with the same message?

Is your git repository using one or more submodules?  If so, do those
submodule repositories require authentication?  If so, then you'll need to
find another way of performing the checkout.  The git plugin does not
support applying credentials to "git submodule update".

Mark Waite

On Mon, Jan 19, 2015 at 2:54 PM, Parag Paul <parag.p...@gmail.com> wrote:

> After some wondering with the System Log in the Manage Jenkins ->Sytem
> Log,
> I was able to add a logger for hudson.plugins.git  but it has very minimal
> output. It only posts, the the followig
>
> Jan 19, 2015 1:47:05 PM FINE hudson.Proc
>
> Running: git rev-parse --is-inside-work-tree
>
> Jan 19, 2015 1:47:05 PM FINE hudson.Proc
>
> Running: git config remote.origin.url https://localgitserveir/git/AXP.git
>
> Jan 19, 2015 1:47:05 PM FINE hudson.Proc
>
> Running: git --version
>
>
> and nothing more. It is at tghis point, where the log ends saying, error 
> fetching remote
>
>
> On Monday, January 19, 2015 at 1:34:07 PM UTC-8, Parag Paul wrote:
>>
>> I would like to extend the past reply. Srry for pressing hit too soon.
>> What is the right way to find the exact operations that the git plugin
>> does. In the cases , where the slave and the master is in the same box, I
>> see that it mentioned
>> "Using .gitcredentials"
>>
>> I dont see it in the slave machine.
>>
>> On Monday, January 19, 2015 at 1:32:50 PM UTC-8, Parag Paul wrote:
>>>
>>> Is there a place where I can find , the exact commands that the git
>>> plugin uses ?
>>>
>>> On Monday, January 19, 2015 at 1:13:26 PM UTC-8, Mark Waite wrote:
>>>>
>>>> You might try debugging by creating build steps which perform the
>>>> operations you need, rather than using the git plugin to perform those
>>>> operations.  Then you can enable the debugging options or levels which best
>>>> suit your needs.
>>>>
>>>> On Mon, Jan 19, 2015 at 1:34 PM, Parag Paul <parag...@gmail.com> wrote:
>>>>
>>>>> The console output is not enough. For me, only for one of the GIT
>>>>> respositories, a fetch from the repo keeps failing. This is a local git
>>>>> server that we have setup on a OSX box
>>>>>
>>>>>
>>>>> We keep getting this error on the slave
>>>>> Error fetching remote repo 'origin'
>>>>>
>>>>> We are running jenkins master on another OSX box and that has
>>>>> credentials plugin setup. The credentials work fine, when I use my github
>>>>> repository URL but not when i used the local git box.
>>>>> I have seen numerous answers around the same problem but did not get
>>>>> any help. I set up a local osx-keychain through credential-helper but 
>>>>> could
>>>>> not get it to work. It fails all the time with the same error messahe
>>>>>
>>>>>
>>>>>  --
>>>>> 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 jenkinsci-use...@googlegroups.com.
>>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>>> msgid/jenkinsci-users/82434764-5a18-473b-a57a-
>>>>> 6edb15b937cd%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/jenkinsci-users/82434764-5a18-473b-a57a-6edb15b937cd%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thanks!
>>>> Mark Waite
>>>>
>>>  --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/c902f5bc-af1a-4c25-a735-2363fdc8a96e%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/c902f5bc-af1a-4c25-a735-2363fdc8a96e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks!
Mark Waite

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtH%3D5V8XCzWROHzwqWidiz2SdoWSDu3r6n7JgJ76_KaiQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to