Changed the way jenkins slaves are defined