Fetch Build Result "Downloads" via RTC API
One answer
I would rather suggest to not upload any data there, but to store the data on a published file system or repository such as IRAM or Artifactory and only link to the URI's. See https://rsjazz.wordpress.com/2015/10/28/build-artifacts-publishing-and-automated-build-output-management-using-the-plain-java-client-libraries/ for some API that can be involved.