configure retry count for deploy plugin