jenkins api stuff