jenkins-job-builder/jenkins_jobs/cli
Anil Belur 9399b1f986
Add config options --jobs-only and --views-only
Add options --jobs-only and --views-only to job_builder
section in config file.

By default JJB updates both jobs and views. Some cases
non-admin users are not allowed to update views on Jenkins
which requires explicity using -j flag.

Allow users to set a config option 'update=jobs|views|all'
in the 'job_builder' section implicitly use --jobs-only or
--views-only and control these flags from the config file.

Note: CLI options takes precedence over the config file.

Change-Id: I2a94e5a2d671ccbfc505de2f19b578ecfef9e9d7
Co-Authored-By: Thanh Ha <zxiiro@linux.com>
Signed-off-by: Anil Belur <askb23@gmail.com>
Signed-off-by: Thanh Ha <zxiiro@linux.com>
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-09-19 02:24:05 +05:30
..
subcommand Add config options --jobs-only and --views-only 2018-09-19 02:24:05 +05:30
__init__.py Introduce modular implementation of subcommands. 2016-07-08 09:55:44 -07:00
entry.py Add config options --jobs-only and --views-only 2018-09-19 02:24:05 +05:30
parser.py Allows params to be specified via environment variables 2018-03-27 12:53:02 +01:00