我看过一个使用以下语法的工作示例:
build job:'NameOfTheJob', parameters: [ string(name: 'FirstOption', value: "test"), string(name: 'AnotherOption', value: "test12")]
基本上,不要以特殊的方式对待选择参数,只需将它们视为常规字符串参数即可。

我看过一个使用以下语法的工作示例:
build job:'NameOfTheJob', parameters: [ string(name: 'FirstOption', value: "test"), string(name: 'AnotherOption', value: "test12")]
基本上,不要以特殊的方式对待选择参数,只需将它们视为常规字符串参数即可。