Re: [Question] Evaluate env var in text box to populate drop down list

2017-04-13 Thread JordanGS
Fair point, i'll leave it alone. 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. To view this

Re: [Question] Evaluate env var in text box to populate drop down list

2017-04-13 Thread Joseph P
I would discourage against trying to grab something from slave nodes, how do you determine the right node? You can traverse all nodes but that seems a little over the top. The two github links are examples of how to get a listener, and node (in this case Jenkins.instance can be casted to node)

Re: [Question] Evaluate env var in text box to populate drop down list

2017-04-12 Thread JordanGS
You say odd stuff, but then that would make it possible? Do you have an example i can look at maybe? -- 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

Re: [Question] Evaluate env var in text box to populate drop down list

2017-04-06 Thread Joseph P
The config page only runs on master. So if you need an environment variable from slave then you have to do some odd stuff :S Den torsdag den 6. april 2017 kl. 07.42.45 UTC+2 skrev JordanGS: > > The field attribute above is a text box that provides a path, in the form > of an environment

Re: [Question] Evaluate env var in text box to populate drop down list

2017-04-05 Thread Goran Dev
The field attribute above is a text box that provides a path, in the form of an environment variable. The do fill provides information for the drop down list As you can see, it's properly named. I'll try the posted link and update tomorrow on progress. I'm wondering how it will be able to

Re: [Question] Evaluate env var in text box to populate drop down list

2017-04-05 Thread Joseph P
First off your doFill method should be called doFillItems Take a look here for creating a listener: https://github.com/jenkinsci/accurev-plugin/blob/master/src/main/java/hudson/plugins/accurev/cmd/ShowStreams.java#L133-L153 and for build env look here:

[Question] Evaluate env var in text box to populate drop down list

2017-04-05 Thread JordanGS
I have two elements, a text box which takes a path and a drop down list below it that will populate the drop down list. How do i modify the doFill Items method to expand the value. See below method zapSettingsDir is the textbox with the path from the jelly config file.