Do not work multi choiced referenced parameters

192 views
Skip to first unread message

andrii.za...@progforce.com

unread,
Jul 3, 2017, 12:54:37 PM7/3/17
to BioUno Developers

From example on https://wiki.jenkins.io/display/JENKINS/Active+Choices+Plugin


Active Choice Parameter

Name: "States"

Choice Type: "Single Select"

Groovy Script:

return[

'Sao Paulo',

'Rio de Janeiro',

'Parana',

'Acre'

]


Active Choices Reactive Parameter

Referenced parameters: "States"

Groovy Script:

return States as List


All right. Works as expected.


--------


But


Active Choice Parameter

Name: "States"

Choice Type: "Check Boxes"

Groovy Script:

return[

'Sao Paulo',

'Rio de Janeiro',

'Parana',

'Acre'

]


Active Choices Reactive Parameter

Referenced parameters: "States"

Groovy Script:

return States as List


Got error:

groovy.lang.MissingPropertyException: No such property: States for class: groovy.lang.Binding



Bruno P. Kinoshita

unread,
Jul 3, 2017, 6:35:13 PM7/3/17
to biouno-d...@googlegroups.com
Hi Andrii,

Could you share your Jenkins and active-choices versions, please?

Cheers
Bruno



--
You received this message because you are subscribed to the Google Groups "BioUno Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to biouno-develop...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

andrii.za...@progforce.com

unread,
Jul 4, 2017, 7:51:25 AM7/4/17
to BioUno Developers
Jenkins 2.60.1
Active Choices Plug-in 1.5.3

Additionally tested.
Choice Type: "Multi Select"
works
problem arise only with
Choice Type: "Check Boxes"

Bruno P. Kinoshita

unread,
Jul 6, 2017, 6:18:43 AM7/6/17
to biouno-d...@googlegroups.com
Hi Andrii,

Debugging found the cause for the issue. There was, actually, a ticket in JIRA already for that, which had been partially fixed.


Fixed now, and will be included in the next release.

Cheers
Bruno



Reply all
Reply to author
Forward
0 new messages