z21ray
7 years agoOccasional Contributor
Run SoapUI tests on Jenkins taken from Github
I am trying to run SoapUI project/tests on Jenkins. I have installed Jenkins plugin, followed those steps: https://support.smartbear.com/readyapi/docs/integrations/jenkins.html But how do I set sourc...
- 7 years ago
When I set up Jenkins in my environment to run ReadyAPI, I had to set up a step in the Jenkins project to clone my GIT repository of the ReadyAPI projects. This stores them in that Jenkins Project's Workspace, which Jenkins stores the location of as a variable like ${WORKSPACE}. So every the time Jenkins tests run, it's cloning the Git repository to its Workspace, and runs the tests.
So when I set up my testrunner script in Jenkins, it looked like this:
/var/ReadyAPI-2.4.0/bin/testrunner.sh -"FHTML" "-RJUnit-Style HTML Report" -J -a -A -r "-f${WORKSPACE}/Reports/WriteReport" "-EAutomated" "-PAutomated=true" "-PIP=${EndPoint}" ${WORKSPACE}/Project/File/Location/In/Workspace/ProjectName.xml