fixed bug for post call in JenkinsApi