jenkins-job-builder/tests/cmd
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
..
fixtures Add config options --jobs-only and --views-only 2018-09-19 02:24:05 +05:30
subcommands upgrade hacking module 2018-06-19 18:04:37 +01:00
__init__.py tests for JJB command processing 2014-07-09 08:55:10 -07:00
test_cmd.py Refactor base test classes inheritance for reuse 2016-09-14 14:58:57 +01:00
test_config.py Add config options --jobs-only and --views-only 2018-09-19 02:24:05 +05:30
test_recurse_path.py Move CacheStorage to its own module. 2016-09-02 08:58:09 -07:00