Also, adding to the thread
>>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?

It fails with the cannot read the username message . Device not configured

Is there any way to fix this issue



On Tuesday, January 20, 2015 at 9:36:27 AM UTC-8, Parag Paul wrote:
>
> hi Mark
> From the log it only shows that the last command that was executed by the 
> git plugin is 
>  git --version
>  it did not do git checkout -f origin/master or origin/main
>
> And if I do the commands lik git --version, it works fine. I have the git 
> version 1.9.3 on my mac box
>
> Now, for sub modules. No I dont have different sub modules. It is one 
> simple repository and there is no mix of it
>
> I did login as the same ssh user that Jenkins master is using to create 
> the slave. 
>
> The problem is that i have tried 3 slave mchines , creating them 
> seprately, trying the ssh start.One of them I tried with java start way so 
> that I could get a UI terminal. 
>
> The other thing I am yet to try is ssh with a private key. I will try that 
> in one hour and up date. But I am stuck for a week now on this. There 
> should be more diagnostics that this. The lastresort is to debug the goit 
> plugin. Is there any way that i could do so ,?
>  Where can I find sintructions for the same? It would really help me .
>
> On Monday, January 19, 2015 at 5:43:27 PM UTC-8, Mark Waite wrote:
>>
>> 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...@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-use...@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/304adf1f-ba04-4de9-aad2-701b655fc440%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to