Hi guys!
I need to execute parallel tests in Jenkins (I have 200 tests done with Selenium Webdriver under Eclipse), I've tried to do it with the following code in my pom.xml file with no luck:
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<parallel>classes</parallel>
<threadCount>5</threadCount>
</configuration>
</plugin>
</plugins>This code works at the beginning (it loads 5 tests), but then, it doesn't end fine, it gets stopped. I don't know why. However, if I put the plugin "maven-surefire-plugin" as "dependency" and not as "plugin", my test (only one at a time) works fine.
I've tried with Multijob Plugin,
but I don't know exactly what I have to put in every "Job name", this job to execute in parallel has to exist in my GitHub Repository? Or this has to ve an other job in Jenkins? Do you know any tutorial about it?
Thanks so much!!