0.1.1 • Published 4 years ago
jenkins-cli-view v0.1.1
jenkins-cli-view
Install with
npm i -g jenkins-cli-viewConfiguration
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_SCHEMEJENKINS_USERNAMEJENKINS_PASSWORDJENKINS_HOSTJENKINS_PROJECT
Usage
In the project directory run:
jenkins-cli-viewYou can use --latest-tag optional flag to retreive the latest tag in your current repository rather than the current branch.