scotty-file-handler#

usage: scotty-file-handler [-h] [-o OUTPUT_DIR] unpackdir url

scotty-file-handler: copy resources from scotty builds

positional arguments:
  unpackdir             Directory to unpack to
  url                   URL to extract

options:
  -h, --help            show this help message and exit
  -o OUTPUT_DIR, --output-dir OUTPUT_DIR
                        Set the output dir

This tool copies either build artifacts from the build or from the Azure based storage into a directory.

The tool consumes URLs prefixed with

  • az:// for Azure blob storage artifacts [1]

  • scotty:// for build artifacts

You can add additional URL parameters in the form of ?<option>=<value>[&<option>=<value>]. Supported parameters are

  • unpackdir=<path> - defines a sub-directory where the artifacts are copied to

  • unzip=1 - unzips the file (requires file to be a zip file)