now uploads based on status obtained by looking at jenkins
rather than depending on postbuild task to detect this status