Using Groovy 2.x to run scripts in Jenkins' context

2015-05-06 Thread Marcin Zajączkowski
Hi, I heavily use job-dsl-plugins to provision and manage jobs in Jenkins and it would be useful to be able to use Groovy 2.x features (like traits or static compilation) to write that code. Jenkins has embedded Groovy 1.8.9 (which as a line 1.8 is quite old) which is used to run job-dsl-plugin

Re: How to "link" a particular job with the promotion process without physically copying the artifacts

2013-07-17 Thread Marcin Zajączkowski
On 2013-07-15 11:58, John Vacz wrote: Am 10.07.2013 16:24, schrieb Marcin Zajączkowski: Hi, I'm currently playing with Promoted Build plugin in the pipeline managed by Build Flow plugin. In a simplified form I have three jobs (called from the master job using Build Flow plugin): - a n

How to "link" a particular job with the promotion process without physically copying the artifacts

2013-07-10 Thread Marcin Zajączkowski
Hi, I'm currently playing with Promoted Build plugin in the pipeline managed by Build Flow plugin. In a simplified form I have three jobs (called from the master job using Build Flow plugin): - a normal build of a project - job B - a deploy WAR artifact to a remote Tomcat - job D - a smok

Re: Manual abort - capture reason for abort

2013-06-14 Thread Marcin Zajączkowski
On 2013-06-13 09:39, Pawel Jasinski wrote: hi, is there a way to capture a reason for manual build abort? Let's say user presses [x] to stop an ongoing build, she is prompted in the similar way to Node Disconnect. I don't know, but as a workaround an user could add that information to a given

Re: No difference in time of archiving artifacts from slave after upgrade to 1.515

2013-06-02 Thread Marcin Zajączkowski
On Friday, May 31, 2013 4:29:09 PM UTC+2, Marcin Zajączkowski wrote: > > Hi. After upgrade to 1.515 I see no difference in time of archiving > artifacts from slave (which should be expected after fix JENKINS-7813). > No reply, so I ask this question in the other way. Has som

No difference in time of archiving artifacts from slave after upgrade to 1.515

2013-05-31 Thread Marcin Zajączkowski
Hi. After upgrade to 1.515 I see no difference in time of archiving artifacts from slave (which should be expected after fix JENKINS-7813). It takes Jenkins 102 seconds to copy 43MB WAR file from slave to master. The same operation with SCP takes 2 seconds - both master and slave are virtual ma