vmware-archive / vsphere-storage-for-docker

vSphere Storage for Docker
https://vmware.github.io/vsphere-storage-for-docker
Apache License 2.0
251 stars 95 forks source link

[SKIP CI] Enables sticky slaves for Jenkins builds #2069

Closed venilnoronha closed 6 years ago

venilnoronha commented 6 years ago

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.

venilnoronha commented 6 years ago

/cc @shuklanirdesh82 @ashahi1 @divyenpatel