jenkins-cli-view

0.1.1 • Public • Published

jenkins-cli-view

Install with

npm i -g jenkins-cli-view

Configuration

Add a file to ~/.jenkins-cli-view/config.json containing the below config. You can also override the config file in the local directory:

{
    "jenkinsProject": "...",
    "jenkinsUsername": "...",
    "jenkinsPassword": "...",
    "jenkinsHost": "..."
}

NOTE: jenkinsHost should exclude the scheme. The scheme defaults to https

The values are overridable with environment variables:

  • JENKINS_SCHEME
  • JENKINS_USERNAME
  • JENKINS_PASSWORD
  • JENKINS_HOST
  • JENKINS_PROJECT

Usage

In the project directory run:

jenkins-cli-view

You can use --latest-tag optional flag to retreive the latest tag in your current repository rather than the current branch.

Package Sidebar

Install

npm i jenkins-cli-view

Weekly Downloads

0

Version

0.1.1

License

ISC

Unpacked Size

5.82 kB

Total Files

6

Last publish

Collaborators

  • sashman