changed to use static Jenkins class and renamed method