jenkins-cli(1) Jenkins Command Line interface


jenkins-cli [-s JENKINS_URL] COMMAND [options...] [arguments...]


jenkins-cli provides remote adminstration and control for the Jenkins CI toolset.
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.


/etc/jenkins/cli.conf system wide configuration of JENKINS_URL variable.

~/.jenkins/cli.conf per user configuration of JENKINS_URL variable.


jenkins-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.


This man page was written by James Page <[email protected]> and is Copyright (C) 2011 Canonical Ltd.