ReadyAPI为购买的Pro版,因为ReadyAPI装在Windows Server2019上,所以需要将此执行机加入Jenkins Node
1 添加Jenkins Node(Windows)
image.png
这里要设置Node Label,并设置Usage,之构建打上此Label的项目
image.png
此处一定要加上./
否则添加会报错
image.png
这里就是一些工具信息了
添加Windows Node遇到的其他问题建议参考https://github.com/jenkinsci/windows-slaves-plugin/blob/master/docs/troubleshooting.adoc
2 创建项目
image.png
创建新项目选择 Freestyle project
image.png
image.png
此处为一些项目信息
image.png
cd your SmartBear path\SmartBear\ReadyAPI-3.10.0\bin
testrunner.bat -r -a -j -J -f your jenkins work dir\workspace\EducationAutoTest\report your jenkins work dir\workspace\EducationAutoTest\your project.xml
image.png
这里是Allure Report 和 Report的一些配置