I have build with parameters in my jenkinsfile.
(我在jenkinsfile中使用参数进行了构建。)
Lets say I have many choices, and if I want to pick all of them, it will take time. (可以说我有很多选择,如果我想全部选择,那将需要时间。)
My question - is there any way to make "pick all" button, so all will be checked? (我的问题-是否有任何方法可以使“全部选择”按钮,因此将全部选中?)
or even check them by default (I prefer the first option)? (甚至默认检查它们(我更喜欢第一个选项)?)
def list = 'my,dog,cat,funny,phone,music'
...
parameters {
extendedChoice(name: 'mychoices', description: 'pick my choices', multiSelectDelimiter: ',', quoteValue: false, saveJSONParameterToFile: false, type: 'PT_CHECKBOX', value: list, visibleItemCount: 20)
extendedChoice(name: 'yourchoices', description: 'pick your choices', multiSelectDelimiter: ',', quoteValue: false, saveJSONParameterToFile: false, type: 'PT_CHECKBOX', value: list, visibleItemCount: 20)
}
ask by jalkjda asjdlka translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…