Can I run Appium Project directly from repository like SVN using Jenkins, if yes then how?

Can I run Appium Project directly from repository like SVN using Jenkins, if yes then how?

I am looking for a way using which I can run my Appium tests (Android and iOS)directly from svn using jenkins, I would like to know if it is possible and if it is then how?
Any inputs on this will be really appreciated.

I run it on Jenkins slave as:
1 pull test code from github
2 run code (as far as we are on testNG it is: “mvn clean test” and some our custom parameters)