Re: Jenkins and Git Error Returned Status Code 128:

2015-09-16 Thread angel . williams
Again this is the error I get if I supply credentials via the GIT source 
code setup traditionaly:
Failed to connect to repository : Command "C:\Git\cmd\git.exe -c 
core.askpass=true ls-remote -h 
https://company.visualstudio.com/DefaultCollection/_git/CompanyHEAD; 
returned status code 128:
stdout:
stderr: fatal: unable to access 
'https://company.visualstudio.com/DefaultCollection/_git/Company/': error 
setting certificate verify locations:
  CAfile: C:/Git/mingw64/libexec/ssl/certs/ca-bundle.crt
  CApath: none

If  I try this as the Repository 
URL: 
https://user:passw...@company.visualstudio.com/DefaultCollection/_git/Company
I get this error:
Failed to connect to repository : Command "C:\Git\cmd\git.exe -c 
core.askpass=true ls-remote -h 
https://user:passw...@company.visualstudio.com/DefaultCollection/_git/Company 
HEAD" returned status code 128:
stdout:
stderr: fatal: unable to access 
'https://user:passw...@company.visualstudio.com/DefaultCollection/_git/Company/':
 
error setting certificate verify locations:
  CAfile: C:/Git/mingw64/libexec/ssl/certs/ca-bundle.crt
  CApath: none


On Wednesday, September 9, 2015 at 5:12:07 PM UTC-6, 
angel.w...@centrallogic.com wrote:
>
> How do I allow jenkins to access GIT source from the VSOnline GIT source?
>
> https://company.visualstudio.com/DefaultCollection/_git/company
>
> Failed to connect to repository : Command "C:\Program 
> Files\Git\bin\git.exe -c core.askpass=true ls-remote -h '
> https://company.visualstudio.com/DefaultCollection/_git/Company HEAD" 
> returned status code 128:
> stdout: 
> stderr: fatal: Authentication failed for '
> https://company.visualstudio.com/DefaultCollection/_git/Company/
>
> I set up an alternate authentication method on my account in VSOnline but 
> I still can't access it.
>
> Someone suggested I use a commandline option in a build step but am 
> unfamiliar with how to do that as well..
>
> Any help would be greatly appreciated.
>
>

-- 
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/fff4c7e3-c265-4f42-8f6b-9e43e7c07f63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins and Git Error Returned Status Code 128:

2015-09-16 Thread angel . williams
Mark,

I can through jenkins do a complete commandline clone, checkout and all 
what I can't do is get the GIT Plugin/ Source inside a job do it without 
that type of access i can't use scm polling at all to start a build if 
there are changes.  I do not do daily builds unles there is a change.

I can't do any of these due to the error when I try to setup the repository 
in Jenkins:

   1. Add a Jenkins credential with username and password, then use that 
   credential with a Jenkins  job to see if the repository is cloned
   2. Confirm you can clone your repository using command line git and the 
   URL 
   
https://username:passw...@company.visualstudio.com/DefaultCollection/_git/Company/
   3. Try a test job with URL 
   
https://username:passw...@company.visualstudio.com/DefaultCollection/_git/Company/
   4. Try a test job with the prior credential and URL 
   https://usern...@company.visualstudio.com/DefaultCollection/_git/Company/ 
   





On Thursday, September 10, 2015 at 3:42:56 PM UTC-6, Mark Waite wrote:
>
> If you're new to git, then I'd suggest the following steps to have some 
> quick, positive experiences that will also confirm your Jenkins 
> installation is working reasonably.  Those steps may also help you identify 
> areas where you need to fine tune or improve your Jenkins installation.
>
>1. Add JGit as a git installation from the "Manage Jenkins", 
>"Configure System", "Git installations" 
>2. Confirm the JGit installation works by creating a job which clones 
>a publicly accessible git repository (either git://
>github.com/jenkinsci/git-client-plugin.git or 
>https://github.com/jenkinsci/git-client-plugin). That job will show 
>you that your git installation is sufficient to clone the repository
>3. Install command line git on your Jenkins server and slaves
>4. Confirm the command line git installation works by creating a job 
>which clones a publicly accessible git repository (same repositories as 
>were used for JGit)
>5. Confirm JGit works with your repository by creating a job which 
>clones your private repository
>6. Confirm command line git works with your repository by creating a 
>job which clones your repository
>
> Those steps should give you several initial successes with Jenkins and 
> give you confidence that you have the git plugin working at its most 
> fundamental level.
>
> To learn more about Git, there are youtube videos, online books, and more.
>
> Mark Waite
>
> On Thu, Sep 10, 2015 at 12:40 PM  > wrote:
>
>> Mark,
>>
>> Can you supply a commandline to use.. that is how new to GIT I am and if 
>> you know a good site for details on GIT that I can get up to speed on it.
>>
>>
>> On Wednesday, September 9, 2015 at 5:50:57 PM UTC-6, Mark Waite wrote:
>>
>>> Some of the things you can test to see if any of them help:
>>>
>>>1. Use a command line git version that is new enough to support 
>>>credentials (1.8 or newer is enough, 1.7.10 is also reported to work)
>>>2. Confirm you can clone your repository using command line git and 
>>>the specific URL, username and password
>>>3. Add a Jenkins credential with username and password, then use 
>>>that credential with a Jenkins  job to see if the repository is cloned
>>>4. Confirm you can clone your repository using command line git and 
>>>the URL 
>>>
>>> https://username:passw...@company.visualstudio.com/DefaultCollection/_git/Company/
>>>5. Try a test job with URL 
>>>
>>> https://username:passw...@company.visualstudio.com/DefaultCollection/_git/Company/
>>>6. Try a test job with the prior credential and URL 
>>>
>>> https://usern...@company.visualstudio.com/DefaultCollection/_git/Company/ 
>>>
>>> 
>>>
>>> Mark Waite
>>>
>>> On Wed, Sep 9, 2015 at 5:12 PM  wrote:
>>>
>> How do I allow jenkins to access GIT source from the VSOnline GIT source?

 https://company.visualstudio.com/DefaultCollection/_git/company

 Failed to connect to repository : Command "C:\Program 
 Files\Git\bin\git.exe -c core.askpass=true ls-remote -h '
 https://company.visualstudio.com/DefaultCollection/_git/Company HEAD" 
 returned status code 128:
 stdout: 
 stderr: fatal: Authentication failed for '
 https://company.visualstudio.com/DefaultCollection/_git/Company/

 I set up an alternate authentication method on my account in VSOnline 
 but I still can't access it.

 Someone suggested I use a commandline option in a build step but am 
 unfamiliar with how to do that as well..

 Any help would be greatly appreciated.

 -- 
 You received this message because you are subscribed to the Google 
 Groups "Jenkins Users" 

Re: Jenkins and Git Error Returned Status Code 128:

2015-09-10 Thread angel . williams
Mark,

Can you supply a commandline to use.. that is how new to GIT I am and if 
you know a good site for details on GIT that I can get up to speed on it.

On Wednesday, September 9, 2015 at 5:50:57 PM UTC-6, Mark Waite wrote:
>
> Some of the things you can test to see if any of them help:
>
>1. Use a command line git version that is new enough to support 
>credentials (1.8 or newer is enough, 1.7.10 is also reported to work)
>2. Confirm you can clone your repository using command line git and 
>the specific URL, username and password
>3. Add a Jenkins credential with username and password, then use that 
>credential with a Jenkins  job to see if the repository is cloned
>4. Confirm you can clone your repository using command line git and 
>the URL 
>
> https://username:passw...@company.visualstudio.com/DefaultCollection/_git/Company/
>5. Try a test job with URL 
>
> https://username:passw...@company.visualstudio.com/DefaultCollection/_git/Company/
>6. Try a test job with the prior credential and URL 
>https://usern...@company.visualstudio.com/DefaultCollection/_git/Company/ 
>
> 
>
> Mark Waite
>
> On Wed, Sep 9, 2015 at 5:12 PM  
> wrote:
>
>> How do I allow jenkins to access GIT source from the VSOnline GIT source?
>>
>> https://company.visualstudio.com/DefaultCollection/_git/company
>>
>> Failed to connect to repository : Command "C:\Program 
>> Files\Git\bin\git.exe -c core.askpass=true ls-remote -h '
>> https://company.visualstudio.com/DefaultCollection/_git/Company HEAD" 
>> returned status code 128:
>> stdout: 
>> stderr: fatal: Authentication failed for '
>> https://company.visualstudio.com/DefaultCollection/_git/Company/
>>
>> I set up an alternate authentication method on my account in VSOnline but 
>> I still can't access it.
>>
>> Someone suggested I use a commandline option in a build step but am 
>> unfamiliar with how to do that as well..
>>
>> Any help would be greatly appreciated.
>>
>> -- 
>> 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/e2d491cb-34e4-4729-b0a5-d9db22979bbe%40googlegroups.com
>>  
>> 
>> .
>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/32c5364d-e094-4977-9a9f-3e796237580c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins and Git Error Returned Status Code 128:

2015-09-09 Thread angel . williams
How do I allow jenkins to access GIT source from the VSOnline GIT source?

https://company.visualstudio.com/DefaultCollection/_git/company

Failed to connect to repository : Command "C:\Program Files\Git\bin\git.exe 
-c core.askpass=true ls-remote 
-h 'https://company.visualstudio.com/DefaultCollection/_git/Company HEAD" 
returned status code 128:
stdout: 
stderr: fatal: Authentication failed for 
'https://company.visualstudio.com/DefaultCollection/_git/Company/

I set up an alternate authentication method on my account in VSOnline but I 
still can't access it.

Someone suggested I use a commandline option in a build step but am 
unfamiliar with how to do that as well..

Any help would be greatly appreciated.

-- 
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/e2d491cb-34e4-4729-b0a5-d9db22979bbe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins as Windows service on windows 2012 Reverse Proxy issue???

2015-09-09 Thread angel . williams
I set it up no problem java installed and have IIS on the system if needed.

RIght now the only way to access the server is the Http://serverip:8080  
I want to access it via the http://serverIP/Jenkins 

How can I set this up without getting Reverse Proxy issues and so others 
can actually access it as needed.

thanks in advance
stixaw

-- 
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/5da282ee-5533-4702-a3c2-66b9581abac3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.