【发布时间】:2019-07-23 15:36:50
【问题描述】:
我想在 Jenkins 中通过 Script Shell 启动一些测试,我使用 TestNG 和 selenium Web 驱动程序。目的是在 TestNG 中启动一个类名,而不是所有测试。
我在jenkins中写了这个命令Script shell:
#!/bin/bash
java -cp F:\Selenium\SampleTestNG\lib\*;F:\Selenium\SampleTestNG\bin org.testng.TestNG "com.az.tests.TNR_Production_TestsA" testng.xml
【问题讨论】: