Fix Jenkins deploy cycle