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*,
<https://lh3.googleusercontent.com/-9Ew0ehApgcc/WafAoSODF7I/AAAAAAAAAJA/og8V0h0MdAk2IN8XqKBBsttJ9S36LMmjwCLcBGAs/s1600/Screenshot_9.jpg>
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!!
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/4e87284d-8a24-43f3-913d-b06f2c2d4a38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.