This new script is designed to be source'd by Jenkins jobs. It'll automatically upload all test artifacts and the console log to GCS on exit.