Re: How can I make a label change be effective?

2014-05-11 Thread Christian Goetze
Thanks, that seems to work... -- 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. For more options, visit https://gro

Re: Build Flow Plugin and Folder Plugin issue

2014-05-11 Thread Daniel Beck
On 11.05.2014, at 22:30, EK wrote: > I tried to pass the path for the job "A" as follow "CommonJobs\A" - (also > tried "CommonJobs\\A") but with no luck ! CommonJobs/A and /CommonJobs/A should both be valid values. Even ../CommonJobs/A should work. IOW, think less like a Windows user ;-) --

Re: Failed to fetch from g...@github.com

2014-05-11 Thread Stephen Connolly
You should enter the username as git and not put the git@ in the scm url. What is happening is that github expects that the username for your key will *always* be "git". When you specify a username in an ssh key, the git plugin then replaces the git@ with your username... so despite the fact that

Re: Failed to fetch from g...@github.com

2014-05-11 Thread John Meloro
I tried the Credentials Plugin, but could not get it to work either. I am out of ideas and am giving up. I've tried for two weeks and am no closer now than when I started. I've un-installed Jenkins and deleted my GitHub account. Signing off and moving on... On Sun, May 11, 2014 at 9:58 AM, M

Build Flow Plugin and Folder Plugin issue

2014-05-11 Thread EK
Hi ... I am not able to call a job found in some other folder when running using build flow, my use case is as follow : 1. CommonJobs Folder which contain several jobs where "A" is a job among them 2. Project1 Folder which contains several jobs and the build flow job. if the build flow job in

Re: Failed to fetch from g...@github.com

2014-05-11 Thread john . meloro
Thank You for the prompt response! I've been struggling with this, off and on, for a couple of weeks now and am very grateful for any guidance. So, with that in mind, and in the hopes I can get my installation correct, I'm starting with a completely clean install. I've removed the old instanc

Re: Failed to fetch from g...@github.com

2014-05-11 Thread Mark Waite
I think git plugin use of the credentials plugin is even newer than the credentials plugin. The first commit reference to credentials in the git-client-plugin is from 2013, long after the publication date of the book. I believe the author of "Jenkins - The Definitive Guide" is preparing revisions

Re: Failed to fetch from g...@github.com

2014-05-11 Thread Daniel Beck
On 11.05.2014, at 15:58, Mark Waite wrote: > I believe that "Jenkins the Definitive Guide" was published before the > Credentials plugin was used by the git plugin. The Credentials plugin 1.0 was released over two years ago in early 2012. The book was published in 2011, around the time of 1.4

Re: Failed to fetch from g...@github.com

2014-05-11 Thread Mark Waite
You will probably have a better chance of success if you update your credentials plugin to the latest version, register your private key in the "Manage Jenkins", "Manage Credentials" section, then use that registered credential with your job. That has the benefit that the private key is managed by

Re: How can I make a label change be effective?

2014-05-11 Thread Daniel Beck
Didn't notice the visibility of Jenkins#trimLabels() -- But when it's about use in script, Groovy's rules are weird anyway. My other suggestion to use Label.reset() works however: Jenkins#trimLabels() is mostly the same as `Jenkins.instance.labels.each { it.reset() }`, which works for me from S

Failed to fetch from g...@github.com

2014-05-11 Thread john . meloro
Okay, I am a newbie to Jenkins. I'm reading Jenkins: The Definitive Guideand am attempting to set up the first example. I'm having issues and I've searched and haven't really found an answer. So, I am posting here in the hopes that this is a sim

Re: How can I make a label change be effective?

2014-05-11 Thread Christian Goetze
Sadly, the trimLabels() method is private. Is there a public method to achieve this, or do I really need to call setNodes(getNodes()) On Friday, May 9, 2014 12:48:41 PM UTC-7, Daniel Beck wrote: > > I commented on the issue with an explanation and how to solve your > problem. > > On 09.05.2014,