Simplifying build_slaves jenkins logic and adding env