Hmm.. The Active choices plugin has not been tested in this context and neither currently supports Scripted or Declarative pipelines. I would suggest that you add an issue to the Active Choices JIRA issues <https://github.com/jenkinsci/uno-choice-plugin> for future consideration. Thank you!
On Friday, March 3, 2017 at 11:20:12 PM UTC-5, kgodoy wrote: > > Hi all, > > I noticed that when I try to use the Groovy Generator for properties and > Active Choices plugin, I don't see the option to check off the Script box > and therefore don't know where to add my Groovy code to populate the > multicheckbox. > > Also, I noticed that it adds SlackNotifier object type for some reason. > This is the venerated code. > > properties [pipelineTriggers([]), <object of type > jenkins.plugins.slack.SlackNotifier.SlackJobProperty>, parameters([[$class: > 'ChoiceParameter', choiceType: 'PT_CHECKBOX', description: 'This is the > description', filterable: true, name: 'MYPARAM']])] > > > What's missing is the 'script' property so that I can add the Groovy code > to generate the options for the multi-select checkboxes. > > Thanks! > > Ken > > -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8bcee69a-6b4a-4def-8cc4-d9360f822154%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.