-
Bug
-
Resolution: Unresolved
-
Minor
-
None
Good morning
I have a dsl job creation job that includes active choice parameters and when I migrate the plugin to version 2.6.X I get the following error:
Processing provided DSL script
ERROR: (unknown source) No signature of method: javaposse.jobdsl.plugin.structs.DescribableContext.parameters() is applicable for argument types: (script$_run_closure2$_closure31$_closure33$_closure41$_closure44$_closure45$_closure46) values: [script$_run_closure2$_closure31$_closure33$_closure41$_closure44$_closure45$_closure46@63cdeea6]
code:
cascadeChoiceParameter { choiceType('PT_SINGLE_SELECT') name ("entrega") filterable(false) filterLength(1) referencedParameters('proyecto') description("Seleccione la versión de subversion que quiere comprobar") randomName("choice-parameter-entrega_1") script { scriptlerScript(){ scriptlerScriptId ("entregas.groovy") parameters { scriptlerScriptParameter { name("proyecto") value("\$" + "{proyecto}") } scriptlerScriptParameter { name("entrega") value("") } scriptlerScriptParameter { name("modulo_tecnico") value("") } } } } }
greetings and thanks