1、新建任务
2、General配置
- 描述
- 丢弃旧的构建
-
限制项目的运行节点
image.png
3、源码管理配置
- git-Repositories
-
git-Branches to build
image.png
4、构建触发器配置
-
push代码到github即可触发
image.png
5、构建配置

6、构建后操作配置
- 配置Publish HTML reports--workspace下面需要要对应的目录,如果没有,需要新建
- 配置Publish performance test result report --workspace下面需要要对应的目录,如果没有,需要新建
-
配置钉钉通知器
image.png
image.png
image.png
7、查看测试报告


其它:
安装插件:
Performance Publisher\HTML Publisher plugin\Performance plugin
报告不显示数据:
进入系统管理->脚本执行行->输入下面的命令:
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")
网友评论