maven - How to configure testng testsuite in jenkins -


i using maven project , have different testng suite file. ve configure jenkins , pom.xml file i've call individual testsuite jenkins. please me out how configure project.

i've configured pom.xml file below

<plugins>     <plugin>         <groupid>org.apache.maven.plugins</groupid>         <artifactid>maven-surefire-plugin</artifactid>         <version>2.8.1</version>         <configuration>             <includes>                 <include>**/*.*</include>             </includes>             <suitexmlfiles>                 <suitexmlfile>${project.basedir}/src/test/java/com/cisco/citeis/suites/${x‌​mlfile}</suitexmlfile>             </suitexmlfiles>         </configuration>     </plugin> </plugins> 

in jenkins add command clean test -dsuite= appflow.xml


Comments