Re: FilePath act fails with an exception

2016-07-13 Thread Stuart Rowe
at takes a String version of the script to be executed. I had hoped to serialize a Closure instance instead, but each instance is a new Class that the remote class loader doesn't understand. On Wednesday, 13 July 2016 07:53:05 UTC-7, Jesse Glick wrote: > > On Wed, Jul 13, 2016 at

Re: FilePath act fails with an exception

2016-07-12 Thread Stuart Rowe
Jesse, are you suggesting that the RemoteClassLoader is failing to find the class file because the groovy script didn't compile? I've hit the same problem trying to implement a FileCallable in groovy and I assumed the issue was related to runtime generated class not being visible to the RemoteC

Re: ArtifactArchiver + BuildFlow help

2014-10-12 Thread Stuart Rowe
Thank you :) On Sat, Oct 11, 2014 at 2:40 PM, Daniel Beck wrote: > peform > > On 11.10.2014, at 23:40, Stuart Rowe wrote: > > > Hi, I'm trying to archive an artifact created during a build flow run. I > want to archive the artifact during the run instead of post b

ArtifactArchiver + BuildFlow help

2014-10-11 Thread Stuart Rowe
Hi, I'm trying to archive an artifact created during a build flow run. I want to archive the artifact during the run instead of post build so: 1. I can schedule another project in the flow that needs to copy the artifact to generate a report 2. I can copy the generated report back to th

Re: Failing a build from within BuildWrapper setUp

2014-10-02 Thread Stuart Rowe
InterruptedException > <http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true> > > Returns:non-null if the build can continue, null if there was an error > and the build needs to be aborted. > > Vincent &g

Failing a build from within BuildWrapper setUp

2014-10-01 Thread Stuart Rowe
Hi, Does anyone how to cause a build to fail during BuildWrapper setUp? For my purposes I want to be able to detect situations during this setup where the build shouldn't continue. Is this possible? I've tried setting the buildResult on the AbstractBuild object passed into setUp. This successf

Re: LDAP configuration in jenkins

2014-07-29 Thread Stuart Rowe
Using the AD plugin you can list multiple domain controllers in the advanced configuration section. On Tuesday, 29 July 2014 09:59:58 UTC-7, alok kumar wrote: > > Hi All, > We have a requirement where in we would like to configure Jenkins users to > be authenticated by seeing up LDAP. > > The p

Looking up Builds in the Build Queue

2014-07-03 Thread Stuart Rowe
Hi, I'm trying to fix this issue that I submitted recently: https://issues.jenkins-ci.org/browse/JENKINS-23607 Calling the getBuild() method on JobInvocation instances is blocking when the corresponding build is still queued (see snippet from JobInvocation.groovy below). This means that the Bui

Re: [Perforce Plugin] support for build parameters in "Client name format for slaves"

2014-05-20 Thread Stuart Rowe
I actually submitted a pull request on May 2, I've been waiting for it to get reviewed and merged ( https://github.com/jenkinsci/perforce-plugin/pull/52) On Tue, May 20, 2014 at 12:19 PM, Oleg Nenashev wrote: > @Stuart > Unfortunately, the development/maintenance of the Perforce plugin is in > s

Re: [Perforce Plugin] support for build parameters in "Client name format for slaves"

2014-05-01 Thread Stuart Rowe
substitutions.putAll(env); 1760 1762 1761 1763 p4Client = MacroStringHelper.substituteParametersNoCheck(getSlaveClientNameFormat(), substitutions); 1762 1764 } On Wednesday, 30 April 2014 15:43:44 UTC-7, Stuart Rowe wrote: > > Our builds are typically parame

[Perforce Plugin] support for build parameters in "Client name format for slaves"

2014-04-30 Thread Stuart Rowe
Our builds are typically parameterized with a "branch" to build against. The client specs used by our nodes are already using a _ naming convention. I would like to use this format for the slave client names in the peforce plugin. The only supported tokens are: ${basename} - The client name as