Jenkins 多分支管道中的选择参数是否有 select ALL 选项

Is there an option to select ALL from the choice parameter in Jenkins multibranch pipeline

我有一个带有参数的 jenkinsfile,它有两个选择

 choice(choices: ['APP1', 'APP2'], description: 'Please choose your application', name: 'APP')

有什么方法可以让我 select 上述两个应用程序(对于 ex choice ALL),如果我 select All choice 我应该能够将这两个值传递给 shell 脚本一个接一个 我不想使用相同的 shell 脚本两次

sh """aws deploy push --application-name \"${params.APP}\""" 

我看过 Active choice 插件extensible choice 但是 none 他们有这个选项 select全部

我找到了另一种方法您可以使用转置并将列表中的项目同时传递给 shell 脚本

参考: