Changed uri to jenkins api