jenkins构建:通过testng.xml构建项目

1、项目的pom.xml中build下添加maven插件,xmlFileName为可变参数

 

 

 2、jenkins新建maven项目

 

 

 构建脚本:

 

 

 

 

原文:https://www.jianshu.com/p/010773dd9f12

 

 

 

posted @ 2019-12-09 11:05  peachlf  阅读(470)  评论(0编辑  收藏  举报