usage: jenkins-jobs [-h] [--conf CONF] [-l LOG_LEVEL] [--ignore-cache]
[--flush-cache] [--version] [--allow-empty-variables]
[--user USER] [--password PASSWORD]
{test,delete-all,update,delete} ...
positional arguments:
{test,delete-all,update,delete}
update, test or delete job
delete-all delete *ALL* jobs from Jenkins server, including those
not managed by Jenkins Job Builder.
optional arguments:
-h, --help show this help message and exit
--conf CONF configuration file
-l LOG_LEVEL, --log_level LOG_LEVEL
log level (default: info)
--ignore-cache ignore the cache and update the jobs anyhow (that will
only flush the specified jobs cache)
--flush-cache flush all the cache entries before updating
--version show version
--allow-empty-variables
Don't fail if any of the variables inside any string
are not defined, replace with empty string instead.
--user USER, -u USER The Jenkins user to use for authentication. This
overrides the user specified in the configuration
file.
--password PASSWORD, -p PASSWORD
Password or API token to use for authenticating
towards Jenkins. This overrides the password specified
in the configuration file.
usage: jenkins-jobs test [-h] [-r] [-x EXCLUDE] [-p PLUGINS_INFO_PATH]
[-o OUTPUT_DIR]
[path] [names [names ...]]
positional arguments:
path colon-separated list of paths to YAML files or
directories
names name(s) of job(s)
optional arguments:
-h, --help show this help message and exit
-r, --recursive look for yaml files recursively
-x EXCLUDE, --exclude EXCLUDE
paths to exclude when using recursive search, uses
standard globbing.
-p PLUGINS_INFO_PATH path to plugin info YAML file
-o OUTPUT_DIR path to output XML
usage: jenkins-jobs update [-h] [-r] [-x EXCLUDE] [--delete-old]
[--workers N_WORKERS]
[path] [names [names ...]]
positional arguments:
path colon-separated list of paths to YAML files or
directories
names name(s) of job(s)
optional arguments:
-h, --help show this help message and exit
-r, --recursive look for yaml files recursively
-x EXCLUDE, --exclude EXCLUDE
paths to exclude when using recursive search, uses
standard globbing.
--delete-old delete obsolete jobs
--workers N_WORKERS number of workers to use, 0 for autodetection and 1
for just one worker.
usage: jenkins-jobs delete-all [-h] [-r] [-x EXCLUDE] [-j] [-v]
optional arguments:
-h, --help show this help message and exit
-r, --recursive look for yaml files recursively
-x EXCLUDE, --exclude EXCLUDE
paths to exclude when using recursive search, uses
standard globbing.
-j, --jobs-only delete only jobs
-v, --views-only delete only views
usage: jenkins-jobs delete [-h] [-r] [-x EXCLUDE] [-p PATH] [-j] [-v]
name [name ...]
positional arguments:
name name of job
optional arguments:
-h, --help show this help message and exit
-r, --recursive look for yaml files recursively
-x EXCLUDE, --exclude EXCLUDE
paths to exclude when using recursive search, uses
standard globbing.
-p PATH, --path PATH colon-separated list of paths to YAML files or
directories
-j, --jobs-only delete only jobs
-v, --views-only delete only views