Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @heroku-cli/plugin-ci with all npm packages installed. Try it out:

@heroku-cli/plugin-ci lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("@heroku-cli/plugin-ci/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@heroku-cli/plugin-ci v7.33.0

Heroku CLI plugin for Heroku CI

@heroku-cli/plugin-ci

Heroku CLI plugin for Heroku CI

oclif Version

CircleCI

Appveyor CI Codecov Downloads/week License

* [Usage](#usage) * [Commands](#commands) # Usage ```sh-session $ npm install -g @heroku-cli/plugin-ci $ heroku COMMAND running command... $ heroku (-v|--version|version) @heroku-cli/plugin-ci/7.33.0 darwin-x64 node-v10.16.0 $ heroku --help [COMMAND] USAGE $ heroku COMMAND ... ``` # Commands * [`heroku ci`](#heroku-ci) * [`heroku ci:info TEST-RUN`](#heroku-ciinfo-test-run) * [`heroku ci:last`](#heroku-cilast) * [`heroku ci:rerun [NUMBER]`](#heroku-cirerun-number) * [`heroku ci:run`](#heroku-cirun)

heroku ci

display the most recent CI runs for the given pipeline

USAGE
  $ heroku ci

OPTIONS
  -a, --app=app            app name
  -p, --pipeline=pipeline  name of pipeline
  --json                   output in json format
  --watch                  keep running and watch for new and update tests

EXAMPLE
  $ heroku ci --app murmuring-headland-14719

See code: src/commands/ci/index.ts

heroku ci:info TEST-RUN

show the status of a specific test run

USAGE
  $ heroku ci:info TEST-RUN

OPTIONS
  -a, --app=app            app name
  -p, --pipeline=pipeline  name of pipeline
  --node=node              the node number to show its setup and output

EXAMPLE
  $ heroku ci:info 1288 --app murmuring-headland-14719

See code: src/commands/ci/info.ts

heroku ci:last

looks for the most recent run and returns the output of that run

USAGE
  $ heroku ci:last

OPTIONS
  -a, --app=app            app name
  -p, --pipeline=pipeline  name of pipeline
  --node=node              the node number to show its setup and output

EXAMPLE
  $ heroku ci:last --pipeline=my-pipeline --node 100

See code: src/commands/ci/last.ts

heroku ci:rerun [NUMBER]

rerun tests against current directory

USAGE
  $ heroku ci:rerun [NUMBER]

OPTIONS
  -a, --app=app            app name
  -p, --pipeline=pipeline  name of pipeline

EXAMPLE
  $ heroku ci:rerun 985 --app murmuring-headland-14719

See code: src/commands/ci/rerun.ts

heroku ci:run

run tests against current directory

USAGE
  $ heroku ci:run

OPTIONS
  -a, --app=app            app name
  -p, --pipeline=pipeline  name of pipeline

EXAMPLE
  $ heroku ci:run --app murmuring-headland-14719

See code: src/commands/ci/run.ts

* [`heroku ci:info`](#heroku-ci-info) * [`heroku ci:last`](#heroku-ci-last) * [`heroku ci:run`](#heroku-ci-run) * [`heroku ci:rerun`](#heroku-ci-rerun)

heroku ci:info

Shows the information for a particular ci run on a pipeline.

USAGE
  $ heroku ci:info 555 --pipeline=my-pipeline # 555 is the test number

heroku ci:last

Shows the information for the last run for a given pipeline.

USAGE
  $ heroku ci:last --pipeline=my-pipeline

heroku ci:run

Run this from within your repo directory to trigger a test agains the current branch and commit.

USAGE
  $ heroku ci:run --pipeline=my-pipeline

heroku ci:rerun

Re-run a previous test run. If no test run number is provided, the most recent test run will be re-run.

USAGE
  $ heroku ci:rerun 555 --pipeline=my-pipeline  # 555 is the test number
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free