Redirect to work properly with jenkins