33. 构建第一个job
2019-09-17 本文已影响0人
软件测试汪
1.点击 New Item

2.Enter an item name 输入一个name,点击Freestyle project

3.我们可以输入一个描述,点击Advanced

4.勾选Use custom workspace,Directory输入自动化用例目录地址

5. 选择Build Triggers-->Build periodically,输入H/5 ****(5分钟构建一次),Build选择Execute Windows batch command,Command输入python run_tests.py

6. 点击Build Now,将会自动构建

7. 点击Console Output可以查看输出的日志


8.我们打开我们的用例的report文件夹,发现用例已经被执行

欢迎关注微信公众号:软件测试汪。软件测试交流群:809111560
转载请注意出处,谢谢合作