Pending Pull requests on parameterized trigger plugin

2013-01-25 Thread cjo
As huybrechts seems to be away doing other stuff, Can some one look at the 12 Pull requests on the parameterized-trigger-plugin. https://github.com/jenkinsci/parameterized-trigger-plugin/pulls I will merge these into the master and make a release but seeing as many of these requests are mine,

Re: Broken backward compatibility

2013-01-25 Thread Jerome Lacoste
On Thursday, January 24, 2013 5:56:33 PM UTC+1, Jesse Glick wrote: On 01/24/2013 08:21 AM, lvot...@redhat.com javascript: wrote: Revert commit I would say revert (bdaf5ea too); at least I do not see a clear description in #494 as to the original purpose of the change. Note that the

Re: How to select individual JDK for each build

2013-01-25 Thread Frederik Fromm
Hi again, I patched out jenkins using the following code snippet in AbstractMavenProcessFactory#buildMavenAgentCmdLine(...) JDK jdk = getJava(listener); if(jdk==null) { // ffromm, 2013-02-17: get JAVA_HOME from envVars if(envVars.containsKey(JAVA_HOME)) {

Abort a currently running build

2013-01-25 Thread Khai Do
I'm trying to use the jenkins api (http://javadoc.jenkins-ci.org/*) *to abort a running build however I can't seem to figure it out. Any help would be appreciated. My specific use case is to lookup a particular build that contains a parameter value (id) and if the id matches I want to abort

Re: Broken backward compatibility

2013-01-25 Thread Jesse Glick
On 01/25/2013 09:31 AM, Jerome Lacoste wrote: the modified method shouldn't be used for encoding query params Then it would be better to introduce a new method. The only place I know ampersand can be a problem in URLs on the command line is when the URLs are not quoted. That is a user

Re: Another LTS release needed

2013-01-25 Thread Jesse Glick
On 01/25/2013 02:13 PM, Vojtech Juranek wrote: The only one I don't understand is JENKINS-16341 and 08efdf5d3ab9 - does replacement of Set by Array reduce memory footprint in any substantial way? No, the point is the calls to intern(), since a lot of the copied objects are common String’s.

does jenkins persist plugin state?

2013-01-25 Thread Russ Tremain
Hi, I have a puzzling problem related to the jenkins perforce plugin. Up to now I have thought that plugins only dervive configuration data from the main config.xml file for each job. But I am seeing evidence of plugin configuration data being persisted that survives a reboot. Is it even

Jelly Binding - POJO Parameters

2013-01-25 Thread jwa
Hi Folks, I am writing a custom BuildWrapper, which is configurable via the Configure option on a job. This contains a repeatable section, which has two principle inputs ; a name, and a day of the week. The jelly looks something like this: f:entry title=${%Allocation:}

Re: does jenkins persist plugin state?

2013-01-25 Thread Jesse Glick
On 01/25/2013 03:04 PM, Russ Tremain wrote: I have thought that plugins only dervive configuration data from the main config.xml file for each job. Some plugins use additional global configuration files. Not sure offhand if that is true for the Perforce plugin.

Re: Jelly Binding - POJO Parameters

2013-01-25 Thread jwa
OK, so i got there in the end - but I've had to manually bind the fields in the same entry: f:entry title=${%Days} f:checkbox checked=${instance.monday==true} name=monday title=Monday / f:checkbox checked=${instance.tuesday==true} name=tuesday

Re: Jelly Binding - POJO Parameters

2013-01-25 Thread jwa
OK, so I really was being stupid... Dind't try the obvious f:entry title=${%Days} f:checkbox field=monday title=Monday / f:checkbox field=tuesday title=Tuesday / f:checkbox field=wednesday title=Wednesday / f:checkbox field=thursday

Re: does jenkins persist plugin state?

2013-01-25 Thread Russ Tremain
At 4:33 PM -0500 1/25/13, Jesse Glick wrote: On 01/25/2013 03:04 PM, Russ Tremain wrote: I have thought that plugins only derive configuration data from the main config.xml file for each job. Some plugins use additional global configuration files. Not sure offhand if that is true for the

New Plugin Hosting Request: Uptime

2013-01-25 Thread chrismair
Hi, I'd like to request hosting for my new Jenkins uptime plugin. It displays the percentage of time that a job has been building successfully over its lifetime. It is currently at: https://github.com/chrismair/uptime-plugin Thanks. Chris Mair