Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detail ====== - After active-choices-plugin 2.6.0, it use `ScriptlerBuilder` instead of `scriptlerScriptId` and `parameter`. But `ScriptlerBuilder` doesn't have `DataBoundConstructor` annotation, so Job DSL can't recognize the scriptler script syntax in `cascadeChoiceParameter`. - Before 2.5.7 - ![image](https://github.com/biouno/uno-choice-plugin/assets/16630665/3ed374fd-5744-4f3c-b567-aa6fedad0450) - ``` scriptlerScript { scriptlerScriptId(String value) parameters { scriptlerScriptParameter { name(String value) } } } ``` - After 2.6.0 - ![image](https://github.com/biouno/uno-choice-plugin/assets/16630665/cec02a53-486f-424b-bebe-c25977c1a46a) - After this commit - ![image](https://github.com/jenkinsci/scriptler-plugin/assets/16630665/8036bfa7-777d-4a2d-9ae8-d75b470bae47) - ``` scriptlerScript { scriptlerBuilder { buildersId(String value) scriptId(String value) propagateParams(boolean value) parameters { parameter { name(String value) value(String value) } } } isSandboxed(Boolean value) scriptlerScriptId(String value) } ``` Co-authored-by: Michael Tughan <[email protected]>
- Loading branch information