I am trying to execute a parallel test run however we dont use maven, we execute our test runs using shell script. Can parallel runs work using the example below?
I've tried multiple methods of allowing parallelization however most allow the execution on one slave instead queuing for another slave. def splits = splitTests count(5) def branches = [:] for (int i = 0; i < splits.size(); i++) { def index = i // fresh variable per iteration; i will be mutated branches["split${i}"] = { node("node-name") { deleteDir() unstash '{env.BRANCH_NAME}' def exclusions = splits.get(index); sh './script/test-queue test/{models,othertests}/**/*.rb"' // unit tests to execute junit '**/*.xml' } } } parallel branches Thanks. -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e57b2ab6-84c1-4427-a56e-b3e6983a4e0f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.