@zf/jenkins-cli

0.2.0 • Public • Published

jenkins-cli

npm i -g @zf/jenkins-cli

projects

export JENKINS_URL=http://admin:password@localhost:8080
jenkins list

# filter by status
jenkins list --building

# filter by name
jenkins list <partialname>

# enable/disable
jenkins enable <project>
jenkins disable <project>

# get project defination
jenkins dump <project>

builds

# trigger build
jenkins build <project>

# get last build of project
jenkins last <project>

# list builds of project
jenkins builds <project>

# get console output
jenkins output <project> <build>

artifacts

# list artifacts of the last stable build
jenkins artifacts <project>

# download artifacts
jenkins donwload <project>

# only download deb packages
jenkins donwload <project> --ext deb

multibranch project

jenkins download <project> <branch>

export/import

jenksin export --path <myfolder>

jenksin import --path <myfolder>

Readme

Keywords

Package Sidebar

Install

npm i @zf/jenkins-cli

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

20 kB

Total Files

8

Last publish

Collaborators

  • zf