Jenkins silently skipping MultiJob phase.

2014-03-27 Thread David tha Dude
Hello, We trigger a parallel batch of roughly 30 parametrized MultiJobs. The triggering job and each of the phases of the MultiJob can run on one of 2 slave nodes. This is specified via the "Restrict where this job can run" option. About 1 in 15 times a phase (mostly the first one) of the Mult

RE: PermGen failures

2014-03-27 Thread JOHNSTON, Rob
Hi David That’s an awful lot of perm space… my main production instance runs with a 4GB heap and 128m of perm space (the default for the JVM is something like 64m, from memory). You should enable GC logging for the JVM so you can see how much perm space is actually being used and adjust it dow

Guidance on templating

2014-03-27 Thread Maureen Barger
Hi - trying to create a build template that contains SVN path and other common maven, shell and groovy bits that can be used by other jobs. Ideally, the template would have a variable for SVN path and the jobs calling it would have that variable defined. If I use the template plugin, I am told my t

GitPublisher Tags and Build On Push

2014-03-27 Thread Hamish Campbell
Hey all, With "Build when a change is pushed to GitHub" enabled, is it possible to set up a project so that GitPublisher can push tags without triggering a subsequent build? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

Unwanted symlink behaviour with Java 1.6 and git-client-plugin 1.6.5+

2014-03-27 Thread Christopher Orr
Hi all, We discovered a subtle bug yesterday with the Git Client plugin and its use of jgit (even if you're using the default command-line git implementation). I just noticed that this bug was probably fixed today by a pull request, but it's worth letting Jenkins users know about this. If

Re: Jenkins 1.556 still unstable - HTTP Error 404

2014-03-27 Thread Slide
Have you tried using the LTS instead of latest? I had lots of issues when I was tracking the latest for my Jenkins installs. I don't have those issues now that I am sticking with the LTS. On Thu, Mar 27, 2014 at 10:21 AM, David Aldrich wrote: > Hi > > > > Sorry for my many recent posts but I am

Re: Maven Builds - Slow Build Times on Jenkins Slaves

2014-03-27 Thread Baptiste Mathus
If using the maven type job, try using a freestyle one and see if you got a different result. Apart from that, it would be really helpful if you could generate many stacktraces in a dedicated jira, take them during those apparently idle times to see what it's doing. Cheers Le 27 mars 2014 17:08,

Jenkins 1.556 still unstable - HTTP Error 404

2014-03-27 Thread David Aldrich
Hi Sorry for my many recent posts but I am finding it difficult to achieve a stable configuration of Jenkins. I have just upgraded from 1.552 to 1.556 and now see this error when I login: HTTP ERROR 404 Problem accessing /jenkins/;jsessionid=1ktrqn7avifn613oup7g5x0q2v. Reason: Not Found The

RE: PermGen failures

2014-03-27 Thread David Aldrich
Hi Rob Thanks. I have now modified /etc/sysconfig/jenkins to specify: JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true -Xmx2048m -Xms256m -XX:MaxPermSize=1024M" I’ll see how that goes. David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of JOHNSTON,

RE: How to fix java.lang.reflect.InvocationTargetException ?

2014-03-27 Thread David Aldrich
This problem seems to have gone away. Best regards David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich Sent: 27 March 2014 11:24 To: jenkinsci-users@googlegroups.com Subject: How to fix java.lang.reflect.InvocationTargetException ?

Re: Parallel builds with Build Flow

2014-03-27 Thread hi
Just correcting a typo with job names. parallel ( { build("job1", id:"1", type:"foo") }, { build("job1", id:"2", type:"bar") } ) On Thursday, March 27, 2014 4:07:33 PM UTC, h...@renatorodrigues.me wrote: > > *rginga*, I'm aware of that possibility but in my case I'm paralleling > t

Re: Maven Builds - Slow Build Times on Jenkins Slaves

2014-03-27 Thread Kai
Hi, just wanted to check-in if anyone has insights into this or if anyone else is experiencing similar issues with mvn build jobs running on jenkins slaves? Thanks. On Saturday, March 22, 2014 11:38:35 AM UTC-7, Kai wrote: > > Sorry for the late reply. Actually, it runs pretty quick when I run

Re: Parallel builds with Build Flow

2014-03-27 Thread hi
*rginga*, I'm aware of that possibility but in my case I'm paralleling the same job, just with different parameters: parallel ( // job 1, 2 and 3 will be scheduled in parallel. { build("job1", id:"1", type:"foo") }, { build("job2", id:"2", type:"bar") } ) // job4 will be triggere

RE: Parallel builds with Build Flow

2014-03-27 Thread Ginga, Dick
Ah, good to know, thanks. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Marc MacIntyre Sent: Thursday, March 27, 2014 12:02 PM To: jenkinsci-users@googlegroups.com Subject: Re: Parallel builds with Build Flow Use the node label parameter plugin and

Re: Parallel builds with Build Flow

2014-03-27 Thread Marc MacIntyre
Use the node label parameter plugin and pass the node name as a param to the build. Build flow accepts parameters as maps, check the docs. Sent from my iPhone > On Mar 27, 2014, at 8:53 AM, "Ginga, Dick" wrote: > > I think you can only do that in each job definition, that is in the > specifi

RE: Parallel builds with Build Flow

2014-03-27 Thread Ginga, Dick
I think you can only do that in each job definition, that is in the specification for Job1, 2, and 3. I don’t think you can pass anything to the build method to do that. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of h...@renatorodrigues.me Sent: T

RE: How to access jobs variables with Build Flow Plugin?

2014-03-27 Thread Ginga, Dick
My thought is to use Groovy Postbuild in your “Build” job in order to set/change the environment variables. Then in your Build Flow job, use b.environment.get to get that value. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of h...@renatorodrigues.me

Parallel builds with Build Flow

2014-03-27 Thread hi
Build Flow plugin allows one to have parallel builds in a simple way: parallel ( // job 1, 2 and 3 will be scheduled in parallel.{ build("job1") }, { build("job2") }, { build("job3") } )// job4 will be triggered after jobs 1, 2 and 3 completebuild("job4") Is it possible to delegat

Re: How to access jobs variables with Build Flow Plugin?

2014-03-27 Thread hi
Can I use Groovy Postbuild with Build Flow or should I use only the first? On Tuesday, March 25, 2014 4:51:54 PM UTC, rginga wrote: > > I do not have an answer but I have some knowledge. The only thing you > have left after “Build” runs is “b”. from the build flow Wiki page: > > > > Environmen

Collect Testresults on Slave-Job

2014-03-27 Thread Marian Thieme
Hello, I have the following setup: jenkins (v1.549) testlink (v1.9.7) jenkins SSH Slaves plugin (v1.6) jenkins-testlink-plugin (3.10) My "freestyle" job is configured pretty standard: - Invoke TestLink: - TestLink Configuration: ... Custom Fields: Test Case Name - Test Execution: - It

RE: Get all Jenkins Jobs name in Build Flow Plugin

2014-03-27 Thread COLLIGNON, Thomas
It works ! Thank you a lot ! De : jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] De la part de Marc MacIntyre Envoyé : jeudi 27 mars 2014 12:30 À : jenkinsci-users@googlegroups.com Objet : Re: Get all Jenkins Jobs name in Build Flow Plugin import hudson.model.* def h

How to wait for downstream jobs to complete in groovy?

2014-03-27 Thread Levski
I config some 'job templete' by the power of the plugin 'job generator plugin'. And I've written a groovy script to parse a XML file which describes the build flow according to the instruction of the page: http://stackoverflow.com/questions/11581620/call-a-jenkins-job-by-using-a-variable-for-buil

RE: how can I monitor a repository without having to check out code into jekins workspace

2014-03-27 Thread Ruddy Gbaguidi
Maybe you can have an empty job that just execute a shell script. That job can run periodically every X minutes. Then your script will "manually" verify the repository and act if there is a change. So, don't let Jenkins do the check> Do it yourself in your script and let Jenkins call your script

Re: Get all Jenkins Jobs name in Build Flow Plugin

2014-03-27 Thread Marc MacIntyre
import hudson.model.* def hi = hudson.model.Hudson.instance def allJobs = hi.getItems(hudson.model.Job) On Thu, Mar 6, 2014 at 12:39 AM, COLLIGNON, Thomas wrote: > Hello, > > > > I would know if it's possible to get all Jenkins jobs name in Build Flow > Plugin? In order to use this as paramete

How to fix java.lang.reflect.InvocationTargetException ?

2014-03-27 Thread David Aldrich
Hi One of our Jenkins jobs is generating an exception that is reported in the System Log. It is a simple job that runs some DOS batch commands. In case it is relevant, we don't use Maven. The exception is below. Any thoughts about the reason please? We are running Jenkins 1.552 on Centos 5.

RE: Get all Jenkins Jobs name in Build Flow Plugin

2014-03-27 Thread COLLIGNON, Thomas
Hello again, If anyone have a solution for this? Or more documentation ? Thanks a lot De : jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] De la part de COLLIGNON, Thomas Envoyé : jeudi 6 mars 2014 09:40 À : 'jenkinsci-users@googlegroups.com' Objet : Get all Jenkins J

RE: Our Jenkins instance keeps crashing

2014-03-27 Thread David Aldrich
Fixed exceptions in System Log by deleting rogue .jpi file and enabling JavaDoc plugin. Will wait and see if that fixes the crashes. David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich Sent: 27 March 2014 10:24 To: jenkinsci-users@g

RE: Downstream cleanup job

2014-03-27 Thread James Nord (jnord)
You can use build flow extensions plugin to block[1] the flows. /James [1] https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Extensions+Plugin#BuildFlowExtensionsPlugin-block From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Curtis Kline Sent: 2

Our Jenkins instance keeps crashing

2014-03-27 Thread David Aldrich
Hi Jenkins is crashing on me several times a day. I am running Jenkins 1.552 on Centos 5, in a VM. Jenkins used to be stable for us. The only symptom I see is that my browser shows: "An internal server error occurred. Please try again later." I don't know where to start debugging this. The J

Re: Downstream cleanup job

2014-03-27 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
Alternatively, use VM snapshots and launch the VMs you need for each job. Each one will be clean and then thrown away when the job completes. If you only have enough resources for one simultaneous build, you can continue using Throttle Concurrent Builds to maintain the restriction. - Origin

Re: Downstream cleanup job

2014-03-27 Thread Geoff Cummings
Try using the priority sorter plugin to make the cleanup job a higher priority and it will goto the front of the queue so it will execute before any of the other queued jobs. I would probably still use the Throttle Concurrent builds plugin to ensure only one of those jobs run at the same time. Ge