Hello,
I've written a System Groovy script that generates a dropdown list based on the current user's role. Everything works fine except when I am trying to call a downstream job from a Controller job, I get
ERROR: Build step failed with exception
java.lang.IllegalArgumentException: Illegal choice 'PARAMETER_VALUE' in parameter 'PARAMETER_NAME&
at jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition.createValueCommon(ExtensibleChoiceParameterDefinition.java:397)
The parameter I am trying to pass as a "current build parameter" from a Controller to the downstream job is defined in identical ways in both jobs (extensible choice system groovy.) Any clues/ideas are greatly appreciated!
Thank you!!