drone-client

1.0.3 • Public • Published

Drone CLI build viewer npm version

Install

You need to set variables:

DRONE_SERVER=https://your.drone.server
DRONE_TOKEN=your_token
npm install drone-client -g --registry=https://registry.npmjs.org

Usage

Go to the folder with git repository, call drone-client -you will see information about the last build of this repository in drone CI or you will follow the process of building the last build.

By default, drone client will use origin git remote, but you can specify necessary:

# List all remotes 
git remote --verbose
 
# View last build for specified remote 
drone-client upstream

By default, drone client will use last build despite the user login, but you can specify it:

# View last build for specified user login 
drone-client upstream octocat

Readme

Keywords

Package Sidebar

Install

npm i drone-client

Weekly Downloads

12

Version

1.0.3

License

ISC

Unpacked Size

8.57 kB

Total Files

3

Last publish

Collaborators

  • gogoleff
  • joshuan