1.Tomcat-下载exe->选择JAVA版本->配置环境变量->
2.war包放入tomcat webapps目录内->tomcat bin目录的startup.bat->输入IP:端口号访问
3.常用插件
①Mutil Job
②Allure-下载安装包-解压-bin目录添加环境变量
③Publish HTML reports
④Git,SVN
4.经常使用的配置项
①Use custom workspace
②Source Code Management
③Build
bat:
C:\python38\Scripts\pytest -vs ^
path\path\test_xxxx.py::test_xxx ^
path\path\test_xxxx2.py::test_xxx2 ^
–alluredir=results/%2/%1/result ^
–junit-xml=report/1.xml ^
–build_num=%1 --job_name=%2
jmeter:
c:\apache-jmeter-5.4.1\bin\jmeter -f -n -t xxx.jmx -l result\xxx.jtl -e -o report\
shell:
④Post-build Actions -:Allure;Publish HTML reports
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)