例如,以下代码用于单个选择值
choice{ choices: 'Box\nOneDrive\nSharePointOnline\nGmail\nGDrive\nGenericS3', defaultValue: 'box', description: 'Connector to build', name: 'On_Cloud_Devices_To_Test' }
我会用booleanParam的。然后,用户可以勾选所有必需的选项。
booleanParam(defaultValue: false, name: 'ALL', description: 'Process all'), booleanParam(defaultValue: false, name: 'OPTION_1', description: 'Process option 1'), booleanParam(defaultValue: false, name: 'OPTION_2', description: 'Process options 2'),