circle-get-artifact

0.1.1 • Public • Published

circle-get-artifact

Get all artifacts from the most recent successful Circle CI build or a subpath path from the artifacts and places them in a local directory outputdir

Install

Circle get artifact can be installed using NPM.

npm install -g circle-get-artifact

Usage

  Usage: circle-get-artifact [options]

  Options:

    -h, --help             output usage information
    -V, --version          output the version number
    -t, --token [value]    (Required) CircleCI Authentication Token
    -b, --buildnum <n>     Specify a build number, or we take latest
    -u, --user [value]     (Required) Build git repository username
    -p, --project [value]  (Required) Build git repository project
    --branch [value]       Branch to get builds from
    --path [value]         Path of files to download
    --outputdir [value]    path of local output directory output artifacts defaults to "./"
    --config [value]       specify a json config
    --print-paths          print file paths

Example

 circle-get-artifact --token "abcdefg01234012301230123012301230123" --user "blueflag" --project "moneypenny" --branch "master" --path '/home/ubuntu/'

Create tokens using account settings page https://circleci.com/account/api

/circle-get-artifact/

    Package Sidebar

    Install

    npm i circle-get-artifact

    Weekly Downloads

    6

    Version

    0.1.1

    License

    ISC

    Unpacked Size

    6.4 kB

    Total Files

    6

    Last publish

    Collaborators

    • thepont