jenkins-cli - Operate Jenkins from the command line
This documentation refers to jenkins-cli version 0.009
jenkins-cli [option] command OPTIONS: -b --base-url[=]str The base url of the Jenkins instance to talk to -U --username[=]str The username to interact with Jenkins -P --password[=]str The passowrd of --username -v --verbose Show more detailed option --version Prints the version information --help Prints this help information --man Prints the full documentation for jenkins-cli COMMANDS: ls|list [search] List jenkins jobs start job Start the Jenkins job "job" stop job Stop a Jenkins job (not yet implemented) tail job Tail a jenkins job (not yet implemented) disable job Diable a job enable job Enable a job wipe job Wipeout workspace for job (not yet implemented) delete job Delete the jenkins job queue Show the current job build queue history job Show a jobs build history (not yet implemented) config job Show a config for a job create job config.xml Create a new job from "config.xml" watch job(s) Watch a job or jobs status
You can save your configuration into ~/.jenkins-cli.yml so that you don't have to enter them each time. The following is an example of what the file looks like:
~/.jenkins-cli.yml
--- base_url: http://localhost:8080/ username: admin password: my-secrent-password
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
Ivan Wills - (ivan.wills@gmail.com)
Copyright (c) 2016 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install App::JenkinsCli, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::JenkinsCli
CPAN shell
perl -MCPAN -e shell install App::JenkinsCli
For more information on module installation, please visit the detailed CPAN module installation guide.