Forum Discussion

cauvery's avatar
cauvery
Contributor
9 years ago

ready-api-maven-plugin working locally but failing from jenkins

I recently changed to ready-api-maven-plugin from soapui-pro-maven-plugin.

It is working fine locally from the terminal.  But the same is not working from jenkins.  It is complaining for SoapUI NG license. Below is the error I got in jenkins job execution:  Need help.

 <p>

No valid SoapUI NG license exists.
Please enter absolute path of the license file (.zip or .key):
[ERROR] java.util.NoSuchElementException: No line found[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.204 s
[INFO] Finished at: 2016-10-26T23:59:35+00:00
[INFO] Final Memory: 36M/419M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.smartbear:ready-api-maven-plugin:1.8.0:test (default) on project ne-twilio: Ready! API Test(s) failed: Ready! API Test(s) failed:[ERROR] No line found[ERROR] -> [Help 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Finished: FAILURE