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

Jenkins参数化构建(二)之 Maven command line使用Jenkins参数 Jenkins参数化构建(二)之 Maven command line使用Jenkins参数

 

3. maven command line中使用

clean test -DsuiteXmlFile=src/main/resources/testngTwo.xml -Dgroups="$GROUPS"

 

4.执行效果

 Jenkins参数化构建(二)之 Maven command line使用Jenkins参数

 

相关文章:

  • 2022-12-23
  • 2021-09-27
  • 2021-08-21
  • 2021-11-21
猜你喜欢
  • 2021-10-09
  • 2022-02-08
  • 2021-08-21
  • 2021-08-18
  • 2021-05-11
  • 2022-01-17
相关资源
相似解决方案