Can you help me eliminate an error that's occurring while running a test in Jenkins to LambdaTest?

I’m getting an error when running test in Jenkins to LambdaTest:

“[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project Java-TestNG-Selenium: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: testSuiteXmlFiles0 has null value”

Could you please help me eliminate this error.

Hi Alex Walker,

With this specific error where it’s looking for a .xml file, you can define your .xml file on the .pom file of your project and run another test.

Sample code snippet:

 <suiteXmlFiles>
    <suiteXmlFile>yourtestfile.xml</suiteXmlFile>    
</suiteXmlFiles>