jenkins code to list, get, and post new jobs