Forum Discussion

yuraku's avatar
yuraku
Contributor
8 years ago

How to provide licence to ready-api-maven-plugin

Hi

As far as i know, there is installed Ready!API version on one of build agents of TeamCity.

Now i'm trying to run tests using maven and ready-api-maven-plugin and it asks me for a licence.

 

How can i provide the licence of installed ReadyAPI to my build job?

thanks.

 

PS: that's the log

[17:43:00][some:project] No valid SoapUI NG license exists.
[17:43:00][some:project] Please enter absolute path of the license file (.zip or .key):
[17:43:00][some:project] [ERROR] java.util.NoSuchElementException: No line found
[17:43:00][some:project] Failed to execute goal com.smartbear:ready-api-maven-plugin:1.7.0:test (default) on project core-api: Ready! API Test(s) failed
[17:43:00][Step 4/4] [INFO] ------------------------------------------------------------------------
[17:43:00][Step 4/4] [INFO] BUILD FAILURE
[17:43:00][Step 4/4] [INFO] ------------------------------------------------------------------------
[17:43:00][Step 4/4] [INFO] Total time: 8:27.350s
[17:43:00][Step 4/4] [INFO] Finished at: Wed Jun 15 15:43:00 BST 2016
[17:43:01][Step 4/4] [INFO] Final Memory: 28M/68M

1 Reply

  • PJat's avatar
    PJat
    Contributor

    Launch the test from TeamCity with same user account under which Ready! API has been installed and it should pick the license automatically.

     

    Best Regards,

    Prakash Jat