How to perform parallel run in multiple nodes/machine in Jenkins #81
-
Hi! I hope someone can give an idea how we can perform parallel execution in multiple node/machine in Jenkins pipeline. I followed the instruction here https://currents.dev/readme/ci-setup/jenkins for setting up jenkins parallel execution. But it seems that it only execute in one machine. Whenever I check the logs I see that every stages are being run in parallel but only in one machine My JenkinsPipeline is declarative and here is the setup
Our built-in node has 6 executors and this is only the node where we can run our test as we specify by its label Our goal is to run it in parallel either in multiple node (where we will setup different machine) or in multiple executors using the same node. Please take note that our Jenkins is dockerized that's why in my Jenkins pipeline I need to use docker cypress base image. One thing to add is that even though our test is in parallel right now running our test in local is bit faster compare when running it in CI using Currents parallelization Hoping someone can help us in regards to this as this is the only factor left we consider before we finally buy a license from currents.dev 🤞 thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey, @bilarallen please send us a message via the in-app intercom, and we'll set up a session to check your situation. Looking at the Currents dashboard snapshot - there were 3 cypress runners involved in this run. So parallelization is working, not sure why the latest execution in Jenkins didn't activate all 3 stages. re: our test in local is bit faster compared when running it in CI Your longest tests are running for between 4-7 minutes in CI vs only 2 minutes on the localhost. Not sure what type of hardware you're using, but that's the reason the difference in makespan is so significant. Also, keep in mind that recording tests require some extra work from the runner (capturing video for example) |
Beta Was this translation helpful? Give feedback.
-
@bilarallen , to summarize:
Try having a set of separate nodes for your cypress tests. Here is the recommended spec |
Beta Was this translation helpful? Give feedback.
@bilarallen , to summarize:
Try having a set of separate nodes for your cypress tests. Here is the recommended spec