I don't have a lot of exposure with Jenkins. Right now, I am trying to learn it by implementing in our project.
We have a pre-existing Maven-Jenkins integration for the Testing Framework. We deploy bunch of test jobs (P0Job, P1Job, P2Job, P3Job) through Jenkins. They all have around 20-100 tests in them.
Currently, all the tests in these jobs run one by one. Is there any way in Jenkins I can run these tests in parallel?
Example: Let's presume that P0Job has 20 tests. Is there a way to create parallelism through Jenkins such that there are multiple instances of the the same job (P0Job). Could it have Instance1: 6 tests, Instance2:6 tests, Instance3:8tests or something like that run in parallel? Is there anything like this that can be supported by Jenkins?
To add a few things: I already have The Project is parameterized checked. It does accept parameters.
Also, "Execute concurrent builds if necessary" is also checked.
Based on this post: Jenkins - Running instances of single build concurrently I also created a Multi Configuration Project, but it doesn't launch the tests in parallel. I am not sure at first if what I am aiming is even feasible.
If yes, how can I approach my problem. If no, what's the other solution?