Refactored Jenkins plugins installation