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 source/project file from gitHub? What do I put in "Path to testrunner" and "Path to SoapUI Pro project" ?
Path to testrunner - Specifies the fully-qualified path to the runner file (testrunner.bat or testrunner.sh). By default, you can find it in the <ReadyAPI installation>/bin directory.
Path to SoapUI Pro project - Specifies the fully-qualified path to the SoapUI Pro project you want to run.
I know there is field for "Repository URL", so should I have clean repo just for one .xml (project) file? And that is it? But what about Path to testrunner and Path to SoapUI Pro project ?
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