Forum Discussion
hi jz1
Instead of using cmd line you can try with Maven pom.xml file. their you are having the option to parameterize the properties.
Once you did with parameterization in Maven. then, you can add Build with parameter functionality of jenkins and in each build you can pass differnet excel file stored in workspace.
Thanks,
- alexisrl7336 years agoOccasional Contributor
Hello ashu248 ,
I'm kind of dealing with the same issue: I wanna pass soapui an excel file through Jenkins, I've configured maven file like this:
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>5.1.3</version>
<configuration>
<projectFile>${soapuiHome}\workspace\projects\${soapuiProjectFile}</projectFile>
<testSuite>${soapuiTestSuite}</testSuite>
<testCase>${soapuiTestCase}</testCase>
<projectProperties>
<value>HostIP=${hostIP}</value>
<value>HostPort=${hostPort}</value>
<!-- override EndPointHost (used in projects with no Launcher)-->
<value>EndPointHost=http://${hostIP}:${hostPort}</value>
<value>SoapUIHome=${soapuiHome}\bin\</value>
<value>Jenkins=Y</value>
<value>dataSource=${dataSource}</value>
</projectProperties>where <value>dataSource=${dataSource}</value> is the field for the File parameter. Now when I check those props in SoapUI context it's only a String.
I tried getting (from SoapUI) Jenkins workspace and then the .xlsx file but so far no luck because of an known issue for that.
Can you please help me?