Monday, April 8, 2019

Distributing Test Cases to a set of Jenkins slave for execution

This groovy script will distribute a set of testcases to a set of slaves under a certain label. https://github.com/elogs/jenkins/blob/master/groovy/testcaseSlaveDistributor.groovy Prerequisites: The slaves are part of a label The Jenkins job which executes the test cases should have the following capabilities: It has "test case list" as a parameter. Therefore this job should be...