Adding the implementation for getting the jobs on jenkins APIs