Forum Discussion
Hello
where i should store build.xml file? in the same directory with soapui xml project file?
and how to integrate with git, to allow jenkins to pull latest project from repository before execute them?
It is up to you where to store, but that should help you and your team and easy to use.
If you are using git, then maintain it in a way such that it is to track changes to sopui project in conjunction with your Application version.
For example, you got an application whose version is 1.0 and you created SoapUI project to the API of the above.
In git, maintain a directory structure say : automation/1.0/, then have SoapUI project related artifacts under it.
Also have build.xml there.
So any one in your team pulls them they get the same structure, so the Jenkins as well.
When you application (under test) version gets upgraded to say 1.2, you create the respective directory structure for automation as there are chances that new operations / methods gets added / modified / deleted and soapui project needs to undergo the same. So, create new directory structure in git say : automation/1.2.
- This way, you have the artifacts available any time, even if you need to provide some hot-fixes on Application1.0, you can use artifacts under automation/1.0.
Hope this helps.