I don''t understand how to use the bindings field in extendedChoice, I tried the code below but it does not work. Any idea ?
Binding binding = new Binding()
binding["foo"] = "foo"
binding["bar"] = "bar"
extendedChoice(
name: 'wtf',
bindings: new Binding(vars).toString(),
description: '',
groovyClasspath: '',
multiSelectDelimiter: ',',
quoteValue: false,
saveJSONParameterToFile: false,
type: 'PT_JSON',
visibleItemCount: 5,
javascript: jsScript,
groovyScript: groovyScript)
Inside the groovyScript :
String a = binding.getProperty("foo")
String b = binding.getProperty"bar")
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/bb8ad7ed-0937-4b97-9be5-781f2d5837a2n%40googlegroups.com.