- 安装Extened Choice Parameter插件
- General模块选择‘参数化构建过程’

3. maven command line中使用
clean test -DsuiteXmlFile=src/main/resources/testngTwo.xml -Dgroups="$GROUPS"
4.执行效果


3. maven command line中使用
clean test -DsuiteXmlFile=src/main/resources/testngTwo.xml -Dgroups="$GROUPS"
4.执行效果

Jenkins参数化构建(二)之 Maven command line使用Jenkins参数
原文:https://www.cnblogs.com/xiaochengzi/p/8251644.html