Re: JDK Parameter (New Plugin)

2013-08-20 Thread Fabio Neves

Hi Jesse.

Not sure if I could understand what you mean.
The main idea is to  be able to select the JDK that will be used to be 
chosen on a per build basis.

That is the reason that made us make this plugin.
You're idea is to generalize this to any given tool?
If that is the case this it is falling out of the (small) scope for the 
creation of this plugin that was created in the context of our company a 
released as open source.

It is however a great idea, that I might pick up in the near future.

On 19/08/13 16:04, Jesse Glick wrote:

On Mon, Aug 19, 2013 at 10:33 AM, Fabio Neves fabio.ne...@datalex.com wrote:

The plugin lets you add a build parameter which allows the JDK that
will be used to be chosen on a per build basis. The JDKs that can be chosen
from can be specified on the configuration page of any job that has the JDK
parameter enabled.

Why not generalize this to any ToolInstallation subtype?



--
You received this message because you are subscribed to the Google Groups Jenkins 
Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: pull request for repo backend-jenkins-plugin-info-plugin

2013-08-20 Thread Jim Gallagher
OK, does anyone on this group have a contact in Cloudbees - I've tried 
emailing them but no response?

I know it's good to have the build working but in this situation, is it a 
prerequisite? We could merge  build locally, then install to Confluence 
with the right permissions.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Request] New Plugin: AppThwack

2013-08-20 Thread Ulli Hafner
Created: https://github.com/jenkinsci/appthwack-plugin

Welcome aboard!

Ulli

Am 20.08.2013 um 06:58 schrieb Andrew Hawker and...@appthwack.com:

 Whoops...
 
 Github User: ahawker
 
 On Monday, August 19, 2013 9:52:06 PM UTC-7, Andrew Hawker wrote:
 Requesting a Github fork for a new plugin.
 
 Name: appthwack-plugin
 Github: https://github.com/appthwack/appthwack-jenkins
 
 This is the first one I've requested, so let me know if there's any 
 additional information I'm missing.
 
 Thanks!
 
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-dev+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: 1.509.3 RC1 posted

2013-08-20 Thread Vojtech Juranek
Hi,
passed all selenium test and my tests [1], if nobody else spot any problems, 
IMHO can be released.
Vojta

[1] https://wiki.jenkins-ci.org/display/JENKINS/LTS+1.509.x+RC+Testing

On Friday 16 August 2013 08:23:37 Kohsuke Kawaguchi wrote:
 at http://mirrors.jenkins-ci.org/ in the stable-rc column.

signature.asc
Description: This is a digitally signed message part.


Re: OpenID SSO 404s when too many users are added

2013-08-20 Thread William Whittle
I've been seeing this too. It has been reported in JENKINS-14843. I've 
created a pull request (https://github.com/jenkinsci/openid-plugin/pull/4) with 
code that fixes it in our environment. As far as I can tell it is because 
the plugin supports the OpenID Team extension, but that Google either 
doesn't support it, or would if POST were used instead. Changing it to use 
POST looks quite invasive, so I've added a configuration option to avoid 
the issue.

Is there anyone with a better understanding of this plugin (or Jenkins 
plugins in general) who could review my change? It introduces a 
configuration option explicitly to enable OpenID team support, as it seems 
better to have an option to express a positive action rather than a 
negative. To maintain backwards compatibility it ought really to be enabled 
by default, but I don't know how to do that.

On Friday, 11 January 2013 06:35:18 UTC, David Tolley wrote:

 We are using project based security, and we have dozens of engineers 
 assigned to admin different jobs. When we reach a critical mass of users 
 added to different projects, the URL becomes to large and Google throws a 
 fit with a 404 URL is too large. The URL contains every single email 
 address that has been added to the security, and if I cut some out, the 
 process completes correctly. Is there a reason why all of the email 
 addresses added into different configs are passed to Google just to sign in 
 one person?

 -- 
 *David Tolley*
 Engineer/Build  Release

 600 W. Chicago Ave, Chicago, IL 60654
 Mobile: 408-643-2424
 Grouponhttp://www.google.com/url?q=http%3A%2F%2Fwww.groupon.com%2Fsa=Dsntz=1usg=AFrqEzcC80FkwsjyolWTKAH1sZ9yU2t0xgII
  
 Grouponworkshttp://www.google.com/url?q=http%3A%2F%2Fwww.grouponworks.com%2Fsa=Dsntz=1usg=AFrqEzdLBm3Dql75wz1BTY0mA30ov3RnWg

  

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: JDK Parameter (New Plugin)

2013-08-20 Thread Jesse Glick
On Tue, Aug 20, 2013 at 4:09 AM, Fabio Neves fabio.ne...@datalex.com wrote:
 The main idea is to  be able to select the JDK that will be used to be
 chosen on a per build basis.
 That is the reason that made us make this plugin.
 You're idea is to generalize this to any given tool?

Any hudson.tools.ToolInstallation, rather than being limited to a
hudson.model.JDK. Not sure it is feasible, just an idea.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


BuildFlow Plugin licence - Afferro GPL / GPL?

2013-08-20 Thread teilo
Hi Nicolas/Cloudbees/other buildflow contributors.

Currently the licence of the BuildFlow plugin is a mix of Affero GPL v3 
(jelly files) and Lesser GPL v3 (most others), the pom.xml states LGPL v3.

Is this just an oversight when the plugin was re-licensed - or is this 
really a mix?

(also any chance of changing it to something without the GPL v3 patent 
issues to make it more company friendly - even if it is dual licenced with 
the Jenkins enterprise plugins)  I don't ask for much do I ;-)

/James




-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: JDK Parameter (New Plugin)

2013-08-20 Thread Daniel Beck
Just looked at the code a bit. How does this behave with parallel executions of 
the same project? Does it handle aborted builds?

On 19.08.2013, at 15:52, Baris Batiege baris.bati...@datalex.com wrote:

 Hey, along with Fabio Neves, I developed a plugin called JDK Parameter 
 Choice. The plugin lets you add a build parameter which allows the JDK that 
 will be used to be chosen on a per build basis. The JDKs that can be chosen 
 from can be specified on the configuration page of any job that has the JDK 
 parameter enabled. 
  
 The plugin was originally designed to solve the issue of letting a user 
 without configure permissions choose separate JDKs per build of a job in a 
 simple way. I’ve made a wiki page for it here: 
 https://wiki.jenkins-ci.org/display/JENKINS/JDK+Parameter+Plugin and the 
 github repo for it is here:https://github.com/Sargemck/JDK_Parameter_Choice . 
 I’d appreciate it if someone could approve this and put it on jenkinsci. 
 Please let me know if you see any issues or potential improvements that could 
 be made to the plugin.
  
 Thanks in advance,
 Baris Batiege (Datalex)
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-dev+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


jelly help.

2013-08-20 Thread James Nord (jnord)
Hi all,

I need to show some specific help for some extensions - but I can't figure out 
how get from the extension to the extension specific help (the url of the 
plugin implementing the extension + fixed string).  Anyone any ideas.

I currently have the following in help-foo.jelly:

j:jelly xmlns:j=jelly:core xmlns:st=jelly:stapler xmlns:d=jelly:define 
xmlns:l=/lib/layout xmlns:t=/lib/hudson xmlns:f=/lib/form 
xmlns:i=jelly:fmt xmlns:p=/lib/hudson/project
div
   div
   This is some global help.
   /div
   j:forEach 
items=${app.getExtensionList('com.cisco.wibble.BazExtension')} var=ext
   !-- need to get the extension specific help here - which may come 
from a different plugin --
   !--it should be something like a 
href=/plugin/PLUGIN_ARTIFACT_ID/extensionclass/help- extension.html --
 st:include page=/help-extension.html from=${ext}/
   /j:forEach
/div
/j:jelly

Which gives me st:include No page found '/help-extension.html' for class 
com.cisco.wible.ext.SuperBazExtension

I feel I'm close - just missing the final piece - anyone any pointers?

/James

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: jelly help.

2013-08-20 Thread teilo
Got it the end. I had misspelt the name of the HTML file and the slash at the 
start was my other issue.

I can now even do St:include page=my-extension class=${ext} 
optional=true and it will use the jelly for of it exists, the HTML file or 
silently ignore it if none exist.

Happy days!

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: nullPointerException while getting tests stats

2013-08-20 Thread Joachim Rodrigues
No i think this is expected behavior because metrics like total tests or
skiped tests are only relevant with maven jobs and not free style jobs.



On Mon, Aug 19, 2013 at 9:54 PM, Kayode Adeoye umohii...@gmail.com wrote:

 is this a bug in jenkins or expected behavior?


 On Wednesday, August 14, 2013 12:36:32 AM UTC-7, Joachim Rodrigues wrote:

 Found the problem.

 In fact, when  
 *getAggregatedTestResultActionhttp://javadoc.jenkins-ci.org/hudson/model/AbstractBuild.html#getAggregatedTestResultAction()
 and * 
 *getTestResultActionhttp://javadoc.jenkins-ci.org/hudson/model/AbstractBuild.html#getAggregatedTestResultAction()
  are
 returning null inside a free-style project.*
 *It ok for maven projects*
 *
 *
 *
 *

 On Tuesday, August 13, 2013 11:49:39 AM UTC+2, Joachim Rodrigues wrote:

 I
 I'm currently discovering jenkins plugins developpent and in my Plugin
 class that extends Notifier
 my 
 AbstractBuildhttp://javadoc.jenkins-ci.org/hudson/model/AbstractBuild.html?,?
  build
 object, always  returns null when invoking *getAggregatedTestResu
 ltActionhttp://javadoc.jenkins-ci.org/hudson/model/AbstractBuild.html#getAggregatedTestResultAction()
  or 
 *AbstractTestResult**Actionhttp://javadoc.jenkins-ci.org/hudson/tasks/test/AbstractTestResultAction.html

 how can I get tests fail + test succeeded and test skiped ?

 thanks

 Joachim

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Jenkins Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/jenkinsci-dev/ju6F06cc2ew/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 jenkinsci-dev+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


commit access for new plugin

2013-08-20 Thread Joachim Rodrigues
Hi 
I just finished a plugin that send metrics to a graphite server.
https://github.com/joachim-rodrigues/graphiteIntegrator


For the moment it just send  : number of tests, tests skipped, tests 
failed, build duration, cobertura total line coverage and cobertura total 
branch coverage to one or more graphite servers. But I am going to enrich 
the number of metrics for next release.

Can i have the jenkins-plugin github access to commit this plugin ?

Thanks 

Joachim


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: 1.509.3 RC1 posted

2013-08-20 Thread Russ Tremain
we are having another regression with 1.509.3 RC, namely, there is an 
Artifactory plugin bug that seems to have resurfaced:

jenkins issues: https://issues.jenkins-ci.org/browse/JENKINS-10021 
https://issues.jenkins-ci.org/browse/JENKINS-10082 
https://issues.jenkins-ci.org/browse/JENKINS-9269

artifactory issue: https://www.jfrog.com/jira/browse/HAP-159 (previously fixed 
in plugin version 1.4.3)

using artifactory jenkins plugin version 2.1.3, upgraded to 2.1.7 in attempt to 
fix.

I will get in touch with the Artifactory folks to see if they have any insight.

thx,
-Russ


At 3:34 PM +0200 8/20/13, Vojtech Juranek wrote:
Hi,
passed all selenium test and my tests [1], if nobody else spot any problems,
IMHO can be released.
Vojta

[1] https://wiki.jenkins-ci.org/display/JENKINS/LTS+1.509.x+RC+Testing

On Friday 16 August 2013 08:23:37 Kohsuke Kawaguchi wrote:
 at http://mirrors.jenkins-ci.org/ in the stable-rc column.
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

Attachment converted: tanami-sys:signature 1092.asc (/) (0192397F)

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.