Performance with thousands of jobs

2014-02-18 Thread Dirk Kuypers
Hi all, we have a quite big Jenkins installation (although I know from some posts to this lists that there are much bigger ones out there). A master which is only doing the web front-end with about 20 Slaves. We have a lot of jobs, at the moment about 3000 (job-dsl plugin rules;-) but in the end

Re: REST API for promoting builds

2014-02-18 Thread John Vacz
This is also what I am missing for a long time. I had the impression that promoted build being a second-class job, there are some features exposed by REST API but not complete. It would be very nice if performing/copying/creating/removing a promotion could be fully supported by REST API, cli

Re: Performance with thousands of jobs

2014-02-18 Thread Baptiste Mathus
Hi, If CPU's spinning, tirst thing to look at is some form of thread dump (only looking for RUNNABLE threads). Or, more easily, I would recommend accessing the live JVM to see what it's doing with a tool like visualvm [1], doing cpu sampling (during the slow operation). That should give you a

Re: Performance with thousands of jobs

2014-02-18 Thread Daniel Beck
/threadDump will tell you what the threads are doing. Look for 'Handling GET'. If you have large views (i.e. 500+ items actually shown), my guess is Functions.getRelativeLinkTo(Item), which iterates over all items in the view (requiring recomputation of what actually is part of the view) for

Re: Performance with thousands of jobs

2014-02-18 Thread Dirk Kuypers
Thanks for your comments. Searching for Functions.getRelativeLinkTo(Item) leads me to *https://issues.jenkins-ci.org/browse/JENKINS-18364 https://issues.jenkins-ci.org/browse/JENKINS-18364* No votes except mine so far.:-/ Regarding the number of jobs: Views containing 10 Jobs take 5-10 seconds

Conditional build steps for maven projects

2014-02-18 Thread srivastv
Hi, How can I run conditional steps with Maven projects ? For free style projects I am able to set up conditional steps but this seems not available with Maven projects. Additionally I also want to publish findbugs/pmd reports conditionally in maven projects. Again this looks possible using

Re: Generating parallel flow with Build Flow Plugin

2014-02-18 Thread stuartrowe
Hi Rodrigo, BuildFlow's parallel function takes a list or map of closures - it will execute each in parallel. For your situation, you should iterate over your list of servers, creating a closure for each and adding it to list. This list can the be passed as an argument to parallel(). e.g. //

Re: Jenkins is hanging

2014-02-18 Thread mp
A similar problem occured on our CenOS 6.4 instance. Setting -XX:PermSize (note, no Max) helped remove the 99% utilization number, but jenkins still hangs. -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Jenkins-is-hanging-tp4680288p4690451.html Sent from the Jenkins

Re: Very slow svn updates

2014-02-18 Thread madhusudhanane
Hi, https://issues.jenkins-ci.org/browse/JENKINS-2001 , this issues was not fixed and i don't see any estimate or any assignee to it. So how did you overcome this issue , i can use the native svn client but i will lose the jenkins-subversion integration. Kindly let me know if anyone has a

Re: Generating parallel flow with Build Flow Plugin

2014-02-18 Thread Rodrigo García Peláez
Hi Stuart, I'm not very familiar with groovy but I think it makes sense :) I'll give that a go To be honest I hadn't tried again to sort this out because in the end I created a fixed job to deploy to the servers I had to, but it will be useful if I get it working for the future Thanks for

Re: Emailers

2014-02-18 Thread Slide
The only thing I would really like to get rid of is the Jelly templates, with the idea to provide an automatic upgrade from Jelly to Groovy. Other than that it would probably just be breaking email-ext into a minimal core plugin with additional features in a more advanced plugin. On Tue, Feb 18,

Is There a Way to Use Push Notification from Git Repository with the git-repo Plugin Like there is via a post-receive hook use with the git Plugin?

2014-02-18 Thread Rejesi
Our Jenkins jobs use manifest files with the git-repo plugin. We tried using the post-receive hook in the repository to poke Jenkins when a new commit is made, however since the actual git URL being used is for the Gerrit Repo manifest repo via the git-repo plugin, the URL is not being

Creating views based on build parameters not working.

2014-02-18 Thread Patricia Wright
Hello All, I have many tests to run across several branches. We pass the parameter 'BRANCH' to all the tests to keep track and use that internally. This works in an excellent fashion. I would like to be able to create views of test results by branch. I want to see the status, weather, and

Jenjins: How to use variable in freestyle job?

2014-02-18 Thread Lily Fu
Hello, I have a free style job, which will create a file, something like: Liquibase …. diffChangeLog … Diff.xml I want to name the Diff.xml with a timestamp or run id so that I can keep a list of files generated from each run, Something like Diff_2014_0218_01.xml Diff_2014_0218_02.xml

Svn Credentials

2014-02-18 Thread Jmata
Hey Guys, Having an SVN issue.. So here is my problem, I have about 500 jobs in my Jenkins Master. All my jobs are failing because I need to enter our svn username and password, I really don't want to do this process for all 500 jobs under the configure option. Is there a way I can just use

Re: Svn Credentials

2014-02-18 Thread Indra Gunawan (ingunawa)
HI Jmata, In our setup, we have a generic AD user that runs Jenkins. For any given SVN repository, we simply check out with -N once as this user and let SVN keep the credential password cached. The cache credential is stored as file in the generic user home

Re: Svn Credentials

2014-02-18 Thread Jmata
So this is our current setup. 1 master (server2012) 14 slaves(server2003, 2008, OSX) 500 jobs across the slaves. 1 AD svcSVN account in our domain. Im in the process of upgrading to the jenkins master to 1.551 but ran into the problem where all the jobs fail because there is not password stored

Re: Jenjins: How to use variable in freestyle job?

2014-02-18 Thread Mark Waite
Refer to https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-JenkinsSetEnvironmentVariablesfor the list of environment variables set by Jenkins for use in a job. Mark Waite On Tue, Feb 18, 2014 at 3:46 PM, Lily Fu lily...@nesassociates.com wrote: