Configuration variables and promoted builds

2013-05-02 Thread Thomas Sondergaard
Hi, We have a project setup where several git branches have the same suite of jenkins jobs. Each branch has * --integrate * --all-tests * --packages The "integrate" job is configured to build when a developer pushes a commit and is used to implement "pre-verified commits". "all-tests" run a

Parallel builds

2013-05-02 Thread Mohan Radhakrishnan
Hi, What is the recommended way to run parallel builds on multi-core systems ? Mine has 4 cores with capability of 2 hardware threads on each core. Is master/slave mode recommended ? How does a single ANT script help in this case ? Thanks. -- You received this message because you are

Re: Questions on Jenkin

2013-05-02 Thread avineet gupta
Thanks Rob!! What are the source control systems that Jenkins supports? Ab Initio has its own source control as part of the EME which does include a command line interface but can Jenkins be used to access it? On Tue, Apr 30, 2013 at 5:42 PM, Mandeville, Rob wrote: > The high level requirement

Re: Configuration variables and promoted builds

2013-05-02 Thread Pete
We have a similar setup and what we did to generate a new set of jobs for a new branch was to create another Jenkins job that used the Jenkins client api to create new jobs and modify the configuration of each job to change the branch name. You can access the configuration as XML and modify it with

RE: Questions on Jenkin

2013-05-02 Thread Mandeville, Rob
You can see the whole list of plugins at https://wiki.jenkins-ci.org/display/JENKINS/plugins. While there are over 20 source code management plugins alone, none of them appear to be for EME. That being said, there are some other ways to trigger builds. 1: You can trigger a job to launch at ce

Re: Configuration variables and promoted builds

2013-05-02 Thread Thomas Sondergaard
On 02-05-2013 12:24, Pete wrote: We have a similar setup and what we did to generate a new set of jobs for a new branch was to create another Jenkins job that used the Jenkins client api to create new jobs and modify the configuration of each job to change the branch name. You can access the conf

Job Generator generation slow

2013-05-02 Thread Walter Kacynski
I'm using the Job Generator plugin to generate 100 new jobs. I notice that each invocation of the generation takes about 3 seconds. This seems very long given the fact that it's executing an internal API call within the master. Does anyone know a way to speed up this process so that jobs are

Re: Configuration variables and promoted builds

2013-05-02 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
I'm in a similar situation as you are, but a couple of weeks behind, so just putting together a strategy for how to handle this situation. I've been looking into using the Job Generator plugin to handle this sort of thing, but haven't gotten very far with testing it yet. - Original Message

can't start slaves anymore, ssh auth failing

2013-05-02 Thread Haszlakiewicz, Eric
I recently upgraded my Jenkins installation and now none of my slaves will start. I changed nothing in my environment other than upgrading Jenkins. I am still able to ssh successfully from the command line as the user that is running Jenkins to all of the remote slaves. Here's the error I get

Problem with Java 7.0.21 under Windows in combination with Rake Plugin

2013-05-02 Thread Petriconi, Felix
I just upgraded from Jenkins 1.501 to 1.513 and from that on, no Rake task was working any more. We have only one Ruby/Rake version installed so we used in all projects the "(Default)" configuration. So for testing purpose I configured a small test job that only should trigger a single Rake ta

Mark Build Unstable if it takes to long

2013-05-02 Thread Tom
Hello, Does anyone know how to mark a build unstable if it takes to long? Thanks -Tom -- 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

Aw: Mark Build Unstable if it takes to long

2013-05-02 Thread Christoph Kutzinski
Check the build timeout plugin   Gesendet: Donnerstag, 02. Mai 2013 um 17:20 Uhr Von: Tom An: jenkinsci-users@googlegroups.com Betreff: Mark Build Unstable if it takes to long Hello, Does anyone know how to mark a build unstable if it takes to long? Thanks -Tom     -- You received this message

Re: can't start slaves anymore, ssh auth failing

2013-05-02 Thread CHAVANNE Robert
Hello Eric, We had the same kind of problem. I think you should take a look at "manage Credentials" in manage Jenkins. We had to create credential to fix the issue. I hope it can help. Regards, Robert -- You received this message because you are subscribed to the Google Groups "Jenkins Users

Re: can't start slaves anymore, ssh auth failing

2013-05-02 Thread Stephen Connolly
Ensure you are on ssh-slaves 0.25 or newer as 0.23 and 0.24 can forget the credentials any time you reboot due to a race condition On 2 May 2013 16:43, CHAVANNE Robert wrote: > Hello Eric, > We had the same kind of problem. > I think you should take a look at "manage Credentials" in manage Jenk

Trigger Build Only for Commits to Particular Branch

2013-05-02 Thread specialmonkey
We use GitHub and want to be able to trigger builds on Jenkins when a commit is made to a particular branch. Our Jenkins currently only has the git plugin which I believe allows for the pulling from our GitHub repo via ssh public key authorization. I think the GitHub built-in web hook which has

Re:Trigger Build Only for Commits to Particular Branch

2013-05-02 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
If you use the GitHub Webhook method of triggering jobs, the job will be told to 'poll' the repository if it uses the repository that received commits. The job itself can restrict what parts of the repository will actually cause a build to occur, and if the changes in the repository don't affect

Re: can't start slaves anymore, ssh auth failing

2013-05-02 Thread jcsirot
You should also take a look at the tool locations on your slaves. My configurations were messed up with, for instance, maven configured with the JDK path and so on. Le jeudi 2 mai 2013 17:43:09 UTC+2, CHAVANNE Robert a écrit : > > Hello Eric, > We had the same kind of problem. > I think you sh

Re: difficulty connecting to Mac slave

2013-05-02 Thread Dan Tenenbaum
On Wed, May 1, 2013 at 8:12 PM, Kenny Ayers wrote: > Hey Dan, > > Oh, I didn't notice you were using javaws. Thank you for the correction. > > OK, so that ensures that the jenkins web app is always running, but > > I'm not clear whether that means that the slave will always be running > > (and

Re: Trigger Build Only for Commits to Particular Branch

2013-05-02 Thread specialmonkey
On Thursday, May 2, 2013 12:14:16 PM UTC-4, Kevin Fleming wrote: > > If you use the GitHub Webhook method of triggering jobs, the job will be > told to 'poll' the repository if it uses the repository that received > commits. The job itself can restrict what parts of the repository will > actua

Re: Trigger Build Only for Commits to Particular Branch

2013-05-02 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
You've missed one important point: Yes, the Git plugin will check the repository for changes, and will probably update its local clone to then check to see if 'dev' has changed. If 'dev' has not changed, no build will be performed, because the Git plugin remembers what the last-built-commit on t

RE: can't start slaves anymore, ssh auth failing

2013-05-02 Thread Haszlakiewicz, Eric
eh? I now need to manage my credentials within Jenkins, instead of just the contents of my .ssh directory? Well that's a pretty huge change, and I didn't see any mention of it in the main changelog. :( I guess I'll take a look and see what I need to configure there. Thanks for the pointer. E

RE: can't start slaves anymore, ssh auth failing

2013-05-02 Thread Haszlakiewicz, Eric
> -Original Message- > From: jenkinsci-users@googlegroups.com [mailto:jenkinsci- > > Ensure you are on ssh-slaves 0.25 or newer as 0.23 and 0.24 can forget the > credentials any time you reboot due to a race condition I actually rolled back to 0.22 to get things working, but I'll try upgr

RE: can't start slaves anymore, ssh auth failing

2013-05-02 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
This change would not have been in the Jenkins changelog, because it wasn't technically a Jenkins change. It's a change in the SSH Slaves plugin. - Original Message - From: jenkinsci-users@googlegroups.com To: jenkinsci-users@googlegroups.com At: May 2 2013 14:13:22 > -Original Messa

Re: can't start slaves anymore, ssh auth failing

2013-05-02 Thread Les Mikesell
On Thu, May 2, 2013 at 1:26 PM, Kevin Fleming (BLOOMBERG/ 731 LEXIN) wrote: > This change would not have been in the Jenkins changelog, because it wasn't > technically a Jenkins change. It's a change in the SSH Slaves plugin. Shouldn't something note when the things distributed with the core pack

Re: can't start slaves anymore, ssh auth failing

2013-05-02 Thread JonathanRRogers
On Thursday, May 2, 2013 2:50:44 PM UTC-4, LesMikesell wrote: > > On Thu, May 2, 2013 at 1:26 PM, Kevin Fleming (BLOOMBERG/ 731 LEXIN) > > wrote: > > This change would not have been in the Jenkins changelog, because it > wasn't > > technically a Jenkins change. It's a change in the SSH Slaves p

Re: Parallel builds

2013-05-02 Thread JonathanRRogers
On Thursday, May 2, 2013 5:02:58 AM UTC-4, Mohan Radhakrishnan wrote: > > Hi, > What is the recommended way to run parallel builds on multi-core > systems ? Mine has 4 cores with capability of 2 hardware threads on each > core. Is master/slave mode recommended ? > > How does a single ANT s

RE: Parallel builds

2013-05-02 Thread Mandeville, Rob
It's the "single ANT script" that has me thinking. Generally, master/slave node allows one to run different versions of the code (source control branches) or different target platforms at the same time. But Jenkins won't magically build one branch on one platform faster just because you have m

Run JUnit in Jenkins

2013-05-02 Thread raf das
Hi friends, I have my ready tests with selenium and JUnit. How can I run on jenkins? -- 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

Jenkins Triggering Nessus Scans

2013-05-02 Thread Jared Griffith
Is it possible to have a job trigger a Nessus scan? -- Jared Griffith Linux Administrator, PICS Auditing, LLC P: (949) 936-4574 C: (909) 653-7814 17701 Cowan #140 | Irvine, CA | 92614 Join PICS on LinkedIn and Twitter! --

Re: can't start slaves anymore, ssh auth failing

2013-05-02 Thread Stephen Connolly
On Thursday, 2 May 2013, Haszlakiewicz, Eric wrote: > eh? I now need to manage my credentials within Jenkins, instead of just > the contents of my .ssh directory? If you have all they keys Jenkins needs in your .ssh directory then this makes your life easier... You just tell it to use those cre

Re: can't start slaves anymore, ssh auth failing

2013-05-02 Thread Stephen Connolly
On Thursday, 2 May 2013, JonathanRRogers wrote: > On Thursday, May 2, 2013 2:50:44 PM UTC-4, LesMikesell wrote: >> >> On Thu, May 2, 2013 at 1:26 PM, Kevin Fleming (BLOOMBERG/ 731 LEXIN) >> wrote: >> > This change would not have been in the Jenkins changelog, because it >> wasn't >> > technically

Re: View takes 10+ seconds to load after upgrade to 1.512

2013-05-02 Thread Ryan McKinley
I see similar behavior. For me, I think it is caused by this: https://issues.jenkins-ci.org/browse/JENKINS-17681 and looks like it was just fixed ryan On Mon, Apr 29, 2013 at 1:57 PM, Pete Akey wrote: > I noticed this *immediately* after upgrading from 1.480 to 1.512. > > At one point, I ha

Re: View takes 10+ seconds to load after upgrade to 1.512

2013-05-02 Thread Kenny Ayers
The active directory plugin was causing our instance to load very slowly after a recent update. I ended up switching the auth model to use pam. This change resulted in near instantaneous page loads. -Kenny On Monday, April 29, 2013 1:57:42 PM UTC-7, harperville wrote: > > I noticed this *imme

Re: can't start slaves anymore, ssh auth failing

2013-05-02 Thread Jonathan Rogers
Stephen Connolly wrote: > > > On Thursday, 2 May 2013, JonathanRRogers wrote: > > On Thursday, May 2, 2013 2:50:44 PM UTC-4, LesMikesell wrote: > > On Thu, May 2, 2013 at 1:26 PM, Kevin Fleming (BLOOMBERG/ 731 > LEXIN) > wrote: > > This change would not have bee

Re: Job Generator generation slow

2013-05-02 Thread syl20bnr
I create a ticket you can follow. I'll investigate if this is possible to completely remove the quiet period. https://issues.jenkins-ci.org/browse/JENKINS-17843 Cheers, syl20bnr Le jeudi 2 mai 2013 10:10:02 UTC-4, Walter Kacynski a écrit : > > I'm using the Job Generator plugin to generate 100 n

Jenkins does not discover new versions

2013-05-02 Thread Patrick
Hi All My local Jenkins installation does not seem to be able to detect new updates anymore. I upgraded to 1.509 about 2 - 3 weeks ago but now Jenkins doesn't seem to detect any of the newer versions. Updates to plugins are found, although I'm not sure if it detects all updates. My questions ar

Execute Clean Up on Build Cancel

2013-05-02 Thread Eric Blom
Hello Everyone, We started using Jenkins about a year ago and have been very happy with it. We keep finding more way to use it! Some of our jobs use hardware connected to the slave and when that slave job is canceled we need to execute a clean up step, how can this be done? I'm looking for a s

Re: Execute Clean Up on Build Cancel

2013-05-02 Thread Brian J. Murrell
On 13-05-02 09:36 PM, Eric Blom wrote: > > trap "/home/jenkins/tmp/cleanup.sh" INT TERM There is also the "EXIT" pseudo-signal available in bash. > On the command line I'm testing with Ctrl+C (INT). Based on the webpage below > I believe SIGTERM (TERM) should work for Jenkins' cancel button Ye

Re: Jenkins does not discover new versions

2013-05-02 Thread Mark Waite
It seems unlikely, but I wonder if you're somehow seeing an instance of  https://issues.jenkins-ci.org/browse/JENKINS-17677 That infrastructure bug caused a number of update center "disconnects".  I think it has been fixed in the infrastructure and that allowed the cases where I'd seen the pro

Re: Execute Clean Up on Build Cancel

2013-05-02 Thread Martin Ba
On 03.05.2013 03:36, Eric Blom wrote: Hello Everyone, We started using Jenkins about a year ago and have been very happy with it. We keep finding more way to use it! Some of our jobs use hardware connected to the slave and when that slave job is canceled we need to execute a clean up step, ho