[英]Selenium Jenkins Linux TestNG - how to run?
Right now I'm running Jenkins on Windows via command line, so: 现在,我通过命令行在Windows上运行Jenkins,因此:
TestNG -> Convert to TestNG
) TestNG -> Convert to TestNG
) I have run.bat
file with 我有
run.bat
文件
java -cp bin;libs/* org.testng.TestNG c.xml java -cp bin;libs/* org.testng.TestNG json.xml
I've created new project in Jenkins to run this bat file 我已经在詹金斯创建了一个新项目来运行此bat文件
This solution is working for me, but I want to run test on Linux, and I need to direction how to do this the right way. 该解决方案对我来说是有效的,但是我想在Linux上运行测试,因此我需要指导如何正确执行此操作。
Basically, the same. 基本上一样。 Java is the same on Linux - at least, from running TestNg tests perspective
Java在Linux上是相同的-至少从运行TestNg测试的角度来看
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.