Fix bug in jenkins build uploading