This PR updates the logic used for selecting slaves while executing builds on Jenkins. Every slave (node) is marked with an available label, which the script looks for in the Slave selection stage. Once the nodes are identified, the available label is removed an a new UUID label is applied. For the rest of the build execution, nodes are always referenced using the UUID label. At the end of the build, these labels are reverted to make nodes available for other builds.
This PR updates the logic used for selecting slaves while executing builds on Jenkins. Every slave (node) is marked with an
available
label, which the script looks for in theSlave selection
stage. Once the nodes are identified, theavailable
label is removed an a newUUID
label is applied. For the rest of the build execution, nodes are always referenced using theUUID
label. At the end of the build, these labels are reverted to make nodes available for other builds.