How to run testng.xml file from jenkins on mac

Viewed 54

Mac doesn't support batch file? What is the alternative, how we can run testng.xml file from jenkins. I'm using gradle project.

1 Answers

try to create .sh file instead of bat file

java -cp "path-tojar/testng.jar:path_to_yourtest_classes" org.testng.TestNG testng.xml

Related