SYNOPSISjenkins-cli [-s JENKINS_URL] COMMAND [options...] [arguments...]
DESCRIPTIONjenkins-cli provides remote adminstration and control for the Jenkins CI toolset.
- -s JENKINS_URL
- URL of the Jenkins remote instance to administer - use instead of setting JENKINS_URL in global or user configuration files (see below).
- COMMAND [options...] [arguments...]
The command to execute with optional options and arguments.
The 'help' command will give you the list of the available commands, which depends on the server you are talking to.
FILES/etc/jenkins/cli.conf system wide configuration of JENKINS_URL variable.
~/.jenkins/cli.conf per user configuration of JENKINS_URL variable.
NOTESjenkins-cli uses the JENKINS_URL environment variable to locate the Jenkins instance to use.
- This can either be specified in the execution environment or in one of the configuration files as detailed above.
- This environment variable is automatically set when Jenkins fork a process during builds, which allows you to use jenkins-cli from inside the build without explicitly configuring the URL.
AUTHORThis man page was written by James Page <[email protected]> and is Copyright (C) 2011 Canonical Ltd.