Re: GitHub 2 Factor Authentication With Jenkins

2016-12-15 Thread Littlefield, Tyler

On 12/15/2016 11:09 AM, prakash damodaran wrote:

Hi Ty,

I have already installed the GitHub package in my system. I am trying to
figure out is there any way we can work with 2FA. Just FYI... I just
came across generating a public access token in GitHub and using it
Jenkins but that didn't actually work still looking if I have missed
anything else. If you have any information about it would be great help!

Thanks,


Your error suggests that you have not installed github because it's 
erroring that it can't find the command. insure that github is in the 
path. I can't offer much on 2fa with jenkins, but I can help with that 
issue at least. from there you can see what Jenkins returns with the 
github package already installed and in the path. If you're on windows, 
the solution is as simple as adding the directory to the path env variable.



Prakash

On Thursday, 15 December 2016 21:11:14 UTC+5:30, sorressean wrote:

Hello,
On 12/15/2016 9:42 AM, prakash damodaran wrote:
> Hi,
>
> I am facing authentication issue with GitHub and Jenkins. We have
setup
> a 2 factor authentication in GITHUB, So I am facing issue on
setting up
> authentication with it. Any leads on it would be great!
>
> Current I am getting the below error when I provide the username and
> Password of GitHub. Is there anything else I need to take care of.
>
> stderr: github --credentials get: github: command not found
> github --credentials erase: github: command not found
> remote: Invalid username or password.
> fatal: Authentication failed for "Github repository URL"
>
> Thanks,
> Prakash

You'll need to install the github package. They offer their own cli
service. This will require googling to figure out how to get it for
your
specific platform.
Also note that 2fa authentication is not going to make your jenkins
jobs
any easier and there's not really a workaround to 2fa. You'll have to
accept the authentication each time Jenkins tries to authenticate.
There
may be workarounds, but it's going to get messy.

>
>
> --
> 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/0831d947-931a-4608-acd3-36dff4217fee%40googlegroups.com



>

>.

> For more options, visit https://groups.google.com/d/optout
.


--
Take care,
Ty
Twitter: @sorressean
Web: https://tysdomain.com
Pubkey: https://tysdomain.com/files/pubkey.asc


--
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/c5029fb3-daa6-4231-b953-129dfbb378d4%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.



--
Take care,
Ty
Twitter: @sorressean
Web: https://tysdomain.com
Pubkey: https://tysdomain.com/files/pubkey.asc

--
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/7b224414-425c-89f8-562d-30192c0d74bf%40tysdomain.com.
For more options, visit https://groups.google.com/d/optout.


Re: GitHub 2 Factor Authentication With Jenkins

2016-12-15 Thread Littlefield, Tyler

Hello,
On 12/15/2016 9:42 AM, prakash damodaran wrote:

Hi,

I am facing authentication issue with GitHub and Jenkins. We have setup
a 2 factor authentication in GITHUB, So I am facing issue on setting up
authentication with it. Any leads on it would be great!

Current I am getting the below error when I provide the username and
Password of GitHub. Is there anything else I need to take care of.

stderr: github --credentials get: github: command not found
github --credentials erase: github: command not found
remote: Invalid username or password.
fatal: Authentication failed for "Github repository URL"

Thanks,
Prakash


You'll need to install the github package. They offer their own cli 
service. This will require googling to figure out how to get it for your 
specific platform.
Also note that 2fa authentication is not going to make your jenkins jobs 
any easier and there's not really a workaround to 2fa. You'll have to 
accept the authentication each time Jenkins tries to authenticate. There 
may be workarounds, but it's going to get messy.





--
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/0831d947-931a-4608-acd3-36dff4217fee%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.



--
Take care,
Ty
Twitter: @sorressean
Web: https://tysdomain.com
Pubkey: https://tysdomain.com/files/pubkey.asc

--
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/ff5736d4-0b25-6149-43f8-d241ff22f281%40tysdomain.com.
For more options, visit https://groups.google.com/d/optout.


Re: Facing issue to configure GitHub with Jenkins

2016-12-15 Thread Littlefield, Tyler
Hello:
On 12/15/2016 8:50 AM, prakash damodaran wrote:
> Hi,
> 
> I am new to Jenkins. I am facing issue on configuring my GitHub
> repository with Jenkins. Please see the error below. It would be great
> if i get a lead on this issue.
> 
> Failed to connect to repository : Error performing command: git.exe
> ls-remote -h 
> 

My command looks a bit different, but things you might want to check:
Under the configuration tab, there should perhaps be an error about why
it couldn't connect. If that's what you're seeing, make sure that you
have git installed, and that it's in your path and jenkins can access
it. It also wouldn't hurt to run the command it's trying (make sure you
copy and paste it as I think you mistyped in this mail). Also if this
isn't a public repo you'll need to set that up as well.
HTH,


> Thanks,
> Prakash
> 
> -- 
> 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/e5ed69ce-b2c2-4eb5-be03-89cec3974e4f%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.


-- 
Take care,
Ty
Twitter: @sorressean
Web: https://tysdomain.com
Pubkey: https://tysdomain.com/files/pubkey.asc

-- 
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/46664138-d6ff-ee3e-d47d-95614c39de54%40tysdomain.com.
For more options, visit https://groups.google.com/d/optout.


test results analyzer and multi-configuration builds

2016-12-14 Thread Littlefield, Tyler
All:
We are using the test results analyzer plugin and really like the output
and statistics it's showing. What we're really hoping to do and what
would be nice is to be able to aggregate the data so that in a
multi-configuration build, the data is shown for all of the axes in the
matrix.
Does anyone know if this is possible? I read through all the comments on
the wiki and seen people asking but I didn't see any response. If this
is not possible, I know there's a jenkins dev list, but I'm running out
of time in which I can work on this. I'm happy to repost there, but any
tips on how to extend this plugin to support what I'm going for would be
great. Even if you want to point me to plugins that show results based
on a matrix. I'd also be open to any other plugins that work similar to
test results analyzer and have the same support.
Thanks,
-- 
Take care,
Ty
Twitter: @sorressean
Web: https://tysdomain.com
Pubkey: https://tysdomain.com/files/pubkey.asc

-- 
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/bd9b7812-b218-3ac4-76b9-34b6102773b3%40tysdomain.com.
For more options, visit https://groups.google.com/d/optout.