NAME
jenkins-cli - Operate Jenkins from the command line
VERSION
This documentation refers to jenkins-cli version 0.013
SYNOPSIS
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
change job template.xslt
Update job configuration(s) with an XSLT template
create job config.xml
Create a new job from "config.xml"
watch job(s) Watch a job or jobs status
DESCRIPTION
SUBROUTINES/METHODS
DIAGNOSTICS
CONFIGURATION AND ENVIRONMENT
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:
---
base_url: http://localhost:8080/
username: admin
password: my-secrent-password
DEPENDENCIES
INCOMPATIBILITIES
BUGS AND LIMITATIONS
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
AUTHOR
Ivan Wills - (ivan.wills@gmail.com)
LICENSE AND COPYRIGHT
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.