jenkins-job-builder/tests/cmd/fixtures/disable-query-plugins.conf
Darragh Bailey f68831bd2e Only query jenkins plugins if config provided
Limit querying for plugin information from Jenkins to where an explicit
configuration file has been provided. Where no file is provided, should
avoid any requests that could result in attempting connections.

Add a config options to control this behaviour explicitly so that if a
config file is provided, it may explicitly disable querying jenkins for
additional information from plugins.

The `test` command can use this behaviour to ensure that a basic run is
possible without providing any configuration files, and can be
explicitly configured to disable querying should a config file be used
for testing.

Ensure the default sample configuration skips attempting to query so
that users may use it as a quick test for a working installation without
any network or valid jenkins url dependencies.

Change-Id: I641a3188013debf3765aaff109c4f5fa82a4cedb
2015-04-17 17:16:33 +01:00

4 lines
86 B
Plaintext

[jenkins]
url=http://test-jenkins.with.non.default.url:8080/
query_plugins_info=False