Re: Dynamically populate choice parameters (Cross posted to the jenkins-users)

2014-04-09 Thread delbert dev
This is just what I needed! Thanks

On Wednesday, April 9, 2014 6:15:04 AM UTC+2, Dominik Bartholdi wrote:

 Thats about the functionality of this plugin: 
 https://wiki.jenkins-ci.org/display/JENKINS/Maven+Metadata+Plugin
 If you need anything more, the you should probably talk to the maintainer 
 of it.
 Domi

 Am 09.04.2014 um 04:31 schrieb Bruno P. Kinoshita 
 brunod...@yahoo.com.br javascript::

 Hi Delbert

 Another approach could be to call a groovy script and use:

 https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Dynamic+Parameter+Plug-in

 I think that's doable with a Groovy script and the dynamic-parameter 
 plugin, unless one parameter depends on the value of other parameters e.g. 
 you have a field groupId, and once it gets selected you'll want the 
 artifactId field to get updated too with the new values, and subsequently 
 with the version field after one artifact gets selected.

 HTH
 Bruno

   --
  *From:* delbert dev delb...@gmail.com javascript:
 *To:* jenkin...@googlegroups.com javascript: 
 *Sent:* Tuesday, April 8, 2014 4:02 PM
 *Subject:* Dynamically populate choice parameters (Cross posted to the 
 jenkins-users)
  
 I am looking either for an existing plugin or suggestion for writing my 
 own plugin that will give me the following functionality:

 On the job configuration page the user has access to one or more choice 
 parameter drop-down menus. Now when the user clicks one of these drop-down 
 boxes the values are dynamically populated by a list of strings.

 I need the list of strings to be e.g versions from all artifacts in the 
 snapshot repository in artifactory/nexus having the coordinates: 
 groupId:artifactId:*.

 Are there any plugins that allows generating dynamically values e.g from 
 listing elements on a webserver?

 I have looked at:

 https://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+plugin

 Using this approach I would need to implement some logic that build a 
 remote properties file. Another approach could be to call a groovy script 
 and use:

 https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Dynamic+Parameter+Plug-in


  Any other suggestions?
 -- 
 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-de...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.


-- 
 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-de...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.



-- 
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/d/optout.


Dynamically populate choice parameters (Cross posted to the jenkins-users)

2014-04-08 Thread delbert dev
I am looking either for an existing plugin or suggestion for writing my own 
plugin that will give me the following functionality:

On the job configuration page the user has access to one or more choice 
parameter drop-down menus. Now when the user clicks one of these drop-down 
boxes the values are dynamically populated by a list of strings.

I need the list of strings to be e.g versions from all artifacts in the 
snapshot repository in artifactory/nexus having the coordinates: 
groupId:artifactId:*.

Are there any plugins that allows generating dynamically values e.g from 
listing elements on a webserver?

I have looked at:
https://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+plugin

Using this approach I would need to implement some logic that build a 
remote properties file. Another approach could be to call a groovy script 
and use:
https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Dynamic+Parameter+Plug-in


 Any other suggestions?

-- 
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/d/optout.


Re: Dynamically populate choice parameters (Cross posted to the jenkins-users)

2014-04-08 Thread Bruno P. Kinoshita
Hi Delbert

Another approach could be to call a groovy script and use:
https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Dynamic+Parameter+Plug-in

I think that's doable with a Groovy script and the dynamic-parameter plugin, 
unless one parameter depends on the value of other parameters e.g. you have a 
field groupId, and once it gets selected you'll want the artifactId field to 
get updated too with the new values, and subsequently with the version field 
after one artifact gets selected.

HTH
Bruno



 From: delbert dev delber...@gmail.com
To: jenkinsci-dev@googlegroups.com 
Sent: Tuesday, April 8, 2014 4:02 PM
Subject: Dynamically populate choice parameters (Cross posted to the 
jenkins-users)
 


I am looking either for an existing plugin or suggestion for writing my own 
plugin that will give me the following functionality:


On the job configuration page the user has access to one or more choice 
parameter drop-down menus. Now when the user clicks one of these drop-down 
boxes the values are dynamically populated by a list of strings.


I need the list of strings to be e.g versions from all artifacts in the 
snapshot repository in artifactory/nexus having the coordinates: 
groupId:artifactId:*.


Are there any plugins that allows generating dynamically values e.g from 
listing elements on a webserver?


I have looked at:
https://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+plugin



Using this approach I would need to implement some logic that build a remote 
properties file. Another approach could be to call a groovy script and use:
https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Dynamic+Parameter+Plug-in





 Any other suggestions?
-- 
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/d/optout.




-- 
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/d/optout.


Re: Dynamically populate choice parameters (Cross posted to the jenkins-users)

2014-04-08 Thread Dominik Bartholdi
Thats about the functionality of this plugin: 
https://wiki.jenkins-ci.org/display/JENKINS/Maven+Metadata+Plugin
If you need anything more, the you should probably talk to the maintainer of it.
Domi

 Am 09.04.2014 um 04:31 schrieb Bruno P. Kinoshita 
 brunodepau...@yahoo.com.br:
 
 Hi Delbert
 
 Another approach could be to call a groovy script and use:
 https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Dynamic+Parameter+Plug-in
 
 I think that's doable with a Groovy script and the dynamic-parameter plugin, 
 unless one parameter depends on the value of other parameters e.g. you have a 
 field groupId, and once it gets selected you'll want the artifactId field to 
 get updated too with the new values, and subsequently with the version field 
 after one artifact gets selected.
 
 HTH
 Bruno
 
 From: delbert dev delber...@gmail.com
 To: jenkinsci-dev@googlegroups.com 
 Sent: Tuesday, April 8, 2014 4:02 PM
 Subject: Dynamically populate choice parameters (Cross posted to the 
 jenkins-users)
 
 I am looking either for an existing plugin or suggestion for writing my own 
 plugin that will give me the following functionality:
 
 On the job configuration page the user has access to one or more choice 
 parameter drop-down menus. Now when the user clicks one of these drop-down 
 boxes the values are dynamically populated by a list of strings.
 
 I need the list of strings to be e.g versions from all artifacts in the 
 snapshot repository in artifactory/nexus having the coordinates: 
 groupId:artifactId:*.
 
 Are there any plugins that allows generating dynamically values e.g from 
 listing elements on a webserver?
 
 I have looked at:
 https://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+plugin
 
 Using this approach I would need to implement some logic that build a remote 
 properties file. Another approach could be to call a groovy script and use:
 https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Dynamic+Parameter+Plug-in
 
 
  Any other suggestions?
 -- 
 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/d/optout.
 
 
 -- 
 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/d/optout.

-- 
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/d/optout.