Hi Support,
As pointed out in this PostBDD Cucumber java I have also noted that the POM file attached fails to run from jenkins.
for Maven goal as "test-compile" the error reported is that the TestComplete Jar is not found. I have added a variable called %TC_COMPLETE% to point to all the Libs/Jars needed for the maven project.
[ERROR] /C:/Work/TestComplete_BDD/Cucumber-Sample-Project/src/test/java/com/example/testingNotepad/Steps.java:[56,19] cannot find symbol[ERROR] symbol: class TestComplete[ERROR] location: class com.example.testingNotepad.World[ERROR] /C:/Work/TestComplete_BDD/Cucumber-Sample-Project/src/test/java/com/example/testingNotepad/Steps.java:[58,19] cannot find symbol
I am able to run the TestingNotepad Application from IntelliJ.. but with a different Feature we get this Error:
Testing started at 10:44 AM ...
java.lang.Exception: TestComplete/TestExecute not found
at com.smartbear.cucumber.TestComplete.<init>(TestComplete.java:42)
at com.example.SAMPLE.Demo.TC(Steps.java:54)
java.lang.Exception: TestComplete is not accessible.
java.lang.IllegalArgumentException: Can't pass in null Dispatch object
at com.jacob.com.Dispatch.throwIfUnattachedDispatch(Dispatch.java:283)
at com.jacob.com.Dispatch.get(Dispatch.java:1257)