1.1.20 • Published 5 years ago

circle-step-outputter v1.1.20

Weekly downloads
25
License
MIT
Repository
-
Last release
5 years ago

circle-step-outputter

Greenkeeper badge Build Status

Writes CircleCI step output to a file

Install

$ npm install --global circle-step-outputter

Usage

CLI

$ circle-step-outputter --help

  Writes CircleCI build step output to a file

  Usage
    $ circle-step-outputter [options]

  Options
    --baseFileName [Default: "test-output"]
    --repoSlug [Default: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME]
    --buildNum [Default: $CIRCLE_BUILD_NUM]
    --token [Default: $CIRCLE_API_TOKEN]
    --step [Default: "npm test"] - a build step name substring

  Examples
    $ circle-step-outputter --repoSlug="artemv/circleci-step-outputter" --buildNum=2
  This will write test-output.json, or test-output0.txt, test-output1.txt ... test-output4.txt if there are
  multiple actions in the step (usually parallel actions).

For public/open source projects specifying token is not needed - you only need to do it for private projects. You can generate the token here: api token creation

API

const circleStepOutputter = require('circle-step-outputter');

circleStepOutputter({repoSlug: "artemv/circleci-step-outputter", buildNum: 2});

circleStepOutputter(options)

options

Type: Object

See CLI section for options list.

License

MIT © Artem Vasiliev

1.1.20

5 years ago

1.1.19

5 years ago

1.1.18

5 years ago

1.1.16

5 years ago

1.1.17

5 years ago

1.1.15

6 years ago

1.1.14

6 years ago

1.1.12

6 years ago

1.1.13

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago