fix jenkins api, get correct build result