Adding failover for jenkins build