开发者社区> 镜像站> NPM> circle-step-outputter
circle-step-outputter
Writes CircleCI build step output to a file
Last updated 3 years ago by artemv .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install circle-step-outputter 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.20                                ...           latest (10 months ago)

27 Versions

  • 1.1.20                                ...           10 months ago
  • 1.1.19                                ...           10 months ago
  • 1.1.18                                ...           10 months ago
  • 1.1.17                                ...           10 months ago
  • 1.1.16                                ...           10 months ago
  • 1.1.15                                ...           a year ago
  • 1.1.14                                ...           a year ago
  • 1.1.13                                ...           a year ago
  • 1.1.12                                ...           a year ago
  • 1.1.11                                ...           a year ago
  • 1.1.10                                ...           a year ago
  • 1.1.9                                ...           a year ago
  • 1.1.8                                ...           a year ago
  • 1.1.7                                ...           a year ago
  • 1.1.6                                ...           a year ago
  • 1.1.5                                ...           2 years ago
  • 1.1.4                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 0.0.0-development                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (2)
Dev Dependencies (8)
Dependents (0)
None