I would like to use the TestLinkAPIClient class (java) in my pipeline 
Jenkins, so I need link these modules 
<https://github.com/Prabhs13/testlink-api-java-client/tree/master/testlink-api-java-client/src/testlink/api/java/client>
 to 
the pipeline, and then run the code below in groovy (found on the net, so 
it is unknown if it can work at all):

#!/usr/bin/env groovy
 import testlink.api.java.client.TestLinkAPIResults.*
 import testlink.api.java.client.TestLinkAPIClient.*

 def DEVKEY = "1f123453b123bd8dd811a7f824c194d0"
 def URL = "http://PC4/lib/api/xmlrpc/v1/xmlrpc.php";
 def api = new TestLinkAPIClient(DEVKEY, URL)
 TestLinkAPIResults projects = api.getProjects()
 api.createTestProject(...)


Ideally, it would be possible to link these modules to the pipeline after 
downloading them from the local SVN (where my project is built in the job) 
to the job workspace. My pipeline need some reference to the location of 
these modules in the %workspace%\testlink\api\java\client folder.

Marogo

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/195bb62e-9067-428c-827a-f0d037715ee4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to