Re: Is there an extension point just before a job is being built? Can we put a running job back into the waiting queue (without failing)?

2012-08-22 Thread ThomasBrouwer
telling a running job: put me back into the queue and run me later. Thanks anyways for your reply! Thomas Op woensdag 22 augustus 2012 17:27:52 UTC+1 schreef ThomasBrouwer het volgende: > > Hi! > > I was wondering whether there is an extension point that, just before > building th

Is there an extension point just before a job is being built? Can we put a running job back into the waiting queue (without failing)?

2012-08-22 Thread ThomasBrouwer
Hi! I was wondering whether there is an extension point that, just before building the job, lets you decide to put it back into the queue. Also, is there a way of stopping a running job and put it back into the queue, without the job passing/failing/etc? So it should just silently go back into

Re: Cannot add environment variables in plugin?

2012-08-22 Thread ThomasBrouwer
The mvn clean command worked :D that you so much for the help! On Tuesday, August 21, 2012 3:57:12 PM UTC+1, ThomasBrouwer wrote: > > Hi there! > > I just cannot seem to be able to add environmental variables in my plugin. > I made a separate class extending EnvironmentContribut

Re: Cannot add environment variables in plugin?

2012-08-21 Thread ThomasBrouwer
nfigs are saved? That might help me track it down :) Thanks! Thomas Op dinsdag 21 augustus 2012 15:57:12 UTC+1 schreef ThomasBrouwer het volgende: > > Hi there! > > I just cannot seem to be able to add environmental variables in my plugin. > I made a separate class extending Envir

Re: Cannot add environment variables in plugin?

2012-08-21 Thread ThomasBrouwer
Also, how did you check whether the value came through? Just created a test job and did echo $LABELS or something like that? On Tuesday, August 21, 2012 3:57:12 PM UTC+1, ThomasBrouwer wrote: > > Hi there! > > I just cannot seem to be able to add environmental variables in my plugin.

Re: Cannot add environment variables in plugin?

2012-08-21 Thread ThomasBrouwer
nings/thirdPartyLicenses>Workspace Cleanup Plugin<http://wiki.jenkins-ci.org/display/JENKINS/Workspace+Cleanup+Plugin> Just to confirm: this should just hook into Jenkins without any triggers from our side? Just having this code and loading in this plugin should already add the enviro

Cannot add environment variables in plugin?

2012-08-21 Thread ThomasBrouwer
Hi there! I just cannot seem to be able to add environmental variables in my plugin. I made a separate class extending EnvironmentContributor: package hudson.plugins.throttleconcurrents; import hudson.EnvVars; import hudson.Extension; import hudson.model.EnvironmentContributor; import hudson.mo

Re: Jelly - Save repeatable elements in a list

2012-08-20 Thread ThomasBrouwer
On, and the strange this is that the data is stored inside my objects, they're just not put into those fields when going to the config page again... On Monday, August 20, 2012 2:20:53 PM UTC+1, ThomasBrouwer wrote: > > Hi there! > > I'm trying to find the right code to

Re: Jelly - Save repeatable elements in a list

2012-08-20 Thread ThomasBrouwer
the config page again, the three fields are left blank. Help? On Monday, August 20, 2012 2:20:53 PM UTC+1, ThomasBrouwer wrote: > > Hi there! > > I'm trying to find the right code to store the inputs of a repeatable > element into the same list. This is required because th

Jelly - Save repeatable elements in a list

2012-08-20 Thread ThomasBrouwer
Hi there! I'm trying to find the right code to store the inputs of a repeatable element into the same list. This is required because this is nested inside another repeatable element. Currently my jelly code is:

Re: Making new plugin - question

2012-08-15 Thread ThomasBrouwer
much of the same thing to choose from... > just my 5cent… up to you > > On 15.08.2012, at 20:45, ThomasBrouwer > > wrote: > > The Exclusion plugin is implemented in such a way that the resource is > only obtained during certain (specified) build steps of a job. As a result

Re: Making new plugin - question

2012-08-15 Thread ThomasBrouwer
more care on improving existing > plugins then just adding new ones with 80% the same functionality of an > already existing one. > Domi > > On 13.08.2012, at 11:51, ThomasBrouwer > > wrote: > > Hi there! > > I am currently planning on making a new plugin th

Re: Making new plugin - question

2012-08-13 Thread ThomasBrouwer
blem. There you >> just implement canRun or canTake method with your resource managed logic. >> >> Hope this helps, >> >> Cheers, Frederik >> >> 2012/8/13 ThomasBrouwer >> >>> Hi there! >>> >>> I am currently planning

Making new plugin - question

2012-08-13 Thread ThomasBrouwer
Hi there! I am currently planning on making a new plugin that extends the functionality of the Exclusion plugin ( https://wiki.jenkins-ci.org/display/JENKINS/Exclusion-Plugin). What the plugin will allow you to do is to specify multiple resources of the same type, so that a pool of resources is